By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 3192
Collapse All | Expand All

(-)digikam-trinity-14.0.13/digikam/showfoto/showfoto.cpp~ (-7 / +13 lines)
Lines 269-275 Link Here
269
        if (url.isLocalFile())
269
        if (url.isLocalFile())
270
        {
270
        {
271
            TQFileInfo fi(url.path());
271
            TQFileInfo fi(url.path());
272
            if (fi.isDir())
272
            if (fi.isDir() || urlList.size() == 1)
273
            {
273
            {
274
                // Local Dir
274
                // Local Dir
275
                openFolder(url);
275
                openFolder(url);
Lines 820-830 Link Here
820
    toggleNavigation(1);
820
    toggleNavigation(1);
821
}
821
}
822
822
823
void ShowFoto::openFolder(const KURL& url)
823
void ShowFoto::openFolder(const KURL& iurl)
824
{
824
{
825
    if (!url.isValid() || !url.isLocalFile())
825
    if (!iurl.isValid() || !iurl.isLocalFile())
826
       return;
826
       return;
827
827
828
    KURL url = iurl;
829
    bool isFile = !TQFileInfo(iurl.path()).isDir();
830
    if(isFile) url = TQFileInfo(iurl.path()).dirPath(true);
831
828
    // Parse KDE image IO mime types registration to get files filter pattern.
832
    // Parse KDE image IO mime types registration to get files filter pattern.
829
833
830
    TQStringList mimeTypes = KImageIO::mimeTypes(KImageIO::Reading);
834
    TQStringList mimeTypes = KImageIO::mimeTypes(KImageIO::Reading);
Lines 909-918 Link Here
909
    TQFileInfo* fi;
913
    TQFileInfo* fi;
910
914
911
    // And open all items in image editor.
915
    // And open all items in image editor.
912
916
    while( (fi = it.current() ) ) {
913
    while( (fi = it.current() ) )
917
	Digikam::ThumbBarItem *tit = new Digikam::ThumbBarItem( d->thumbBar, KURL(fi->filePath()) );
914
    {
918
	if(isFile && fi->filePath() == iurl.path()) {
915
        new Digikam::ThumbBarItem( d->thumbBar, KURL(fi->filePath()) );
919
	    d->thumbBar->setSelected(tit);
920
	    d->currentItem = d->thumbBar->currentItem();
921
	}
916
        ++it;
922
        ++it;
917
    }
923
    }
918
}
924
}

Return to bug 3192