[kde-windows] [Bug 298680] grantlee version available in KDE on Windows is not yet up to date

Stephane MANKOWSKI stephane at mankowski.fr
Fri May 24 16:53:31 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=298680

--- Comment #17 from Stephane MANKOWSKI <stephane at mankowski.fr> ---
Hi,

I committed the correction in the trunk
(91f6e6fe570e6a7cda311de67d109735e1d0bb4b).
The commit is  tagged with "PatchWindowsMonthlyReport"

@@ -80,8 +80,9 @@ bool SKGMonthlyPlugin::setupActions(SKGDocument* iDocument,
const QStringList& i

     //Copy "default" directory in locale
     foreach(const QString & file, KStandardDirs().findAllResources("data",
KGlobal::mainComponent().aboutData()->appName() % "/html/default/*.html")) {
-        QFile(file).remove();
-        QFile(file).copy(path % QFileInfo(file).fileName());
+        QString target = path % QFileInfo(file).fileName();
+        QFile(target).remove();
+        QFile(file).copy(target);
     }

     //Create yours actions here

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-windows mailing list