]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/mimetype.cpp
Delay checking for the requested sash position until the first
[wxWidgets.git] / src / unix / mimetype.cpp
index 316e8b0dd8eef5e57bd90da41cf5d72eb56fa2d5..367879ce18cf50508bf393e97f2a5d9cdeb4bc4f 100644 (file)
@@ -1069,7 +1069,8 @@ void wxMimeTypesManagerImpl::LoadKDELinksForMimeSubtype(const wxString& dirbase,
                 size_t nDir, nDirs = icondirs.GetCount();
                 for ( nDir = 0; nDir < nDirs; nDir++ )
                 {
-                    wxFileName fname( icondirs[nDir], strIcon );
+                    wxFileName fnameIcon( strIcon );
+                    wxFileName fname( icondirs[nDir], fnameIcon.GetName() );
                     fname.SetExt( wxT("png") );
                     if (fname.FileExists())
                     {