Commit 3b315edc authored by ck's avatar ck
Browse files

Maemo: Compile fix.

parent 749e97db
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <qt4projectmanager/qt4project.h> #include <qt4projectmanager/qt4project.h>
#include <qt4projectmanager/qt4target.h> #include <qt4projectmanager/qt4target.h>
#include <profile.h>
#include <prowriter.h> #include <prowriter.h>
#include <QtCore/QCryptographicHash> #include <QtCore/QCryptographicHash>
...@@ -257,7 +256,7 @@ bool MaemoPackageContents::setData(const QModelIndex &index, ...@@ -257,7 +256,7 @@ bool MaemoPackageContents::setData(const QModelIndex &index,
QString error; QString error;
if (!readProFileContents(&error)) { if (!readProFileContents(&error)) {
qWarning(qPrintable(error)); qWarning("%s", qPrintable(error));
return false; return false;
} }
...@@ -277,7 +276,7 @@ bool MaemoPackageContents::setData(const QModelIndex &index, ...@@ -277,7 +276,7 @@ bool MaemoPackageContents::setData(const QModelIndex &index,
addValueToProFile(pathElem, newRemoteDir); addValueToProFile(pathElem, newRemoteDir);
if (!writeProFileContents(&error)) { if (!writeProFileContents(&error)) {
qWarning(qPrintable(error)); qWarning("%s", qPrintable(error));
return false; return false;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment