Ticket #191: qfileiconprovider.diff

File qfileiconprovider.diff, 1.1 KB (added by rudi, 15 years ago)

Fix for the above problem

  • qfileiconprovider.cpp

     
    339339    QByteArray path = QDir::toNativeSeparators(
    340340        QDir::cleanPath(fileInfo.absoluteFilePath())).toLocal8Bit();
    341341    HPOINTER hicon = WinLoadFileIcon(path, FALSE);
     342
     343
     344
     345
     346
     347
     348
     349
     350
     351
     352
     353
     354
     355
     356
     357
     358
    342359    if (hicon != NULLHANDLE) {
    343360        // we're requesting the system (shared) icon handle which should be
    344361        // always the same for the given file until the icon is changed, so use