]> cloud.milkyroute.net Git - dolphin.git/commitdiff
It compiles fine with "-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS"
authorMontel Laurent <montel@kde.org>
Sun, 22 May 2011 11:04:04 +0000 (13:04 +0200)
committerMontel Laurent <montel@kde.org>
Sun, 22 May 2011 11:04:33 +0000 (13:04 +0200)
src/settings/general/configurepreviewplugindialog.cpp

index c1a507a656c29108bf276b0712e520cbc8ba5a70..3ca08dfd00c51f74db1eca6893b9f6edd2a763e1 100644 (file)
@@ -73,7 +73,7 @@ void ConfigurePreviewPluginDialog::slotOk()
     // for a specific MIME-type should be regenerated. As this is not available yet we
     // delete the whole thumbnails directory.
     QApplication::changeOverrideCursor(Qt::BusyCursor);
     // for a specific MIME-type should be regenerated. As this is not available yet we
     // delete the whole thumbnails directory.
     QApplication::changeOverrideCursor(Qt::BusyCursor);
-    KIO::NetAccess::del(QDir::homePath() + "/.thumbnails/", this);
+    KIO::NetAccess::del(QString(QDir::homePath() + "/.thumbnails/"), this);
     QApplication::restoreOverrideCursor();
 
 }
     QApplication::restoreOverrideCursor();
 
 }