Maemo: Compile fix.

This commit is contained in:
ck
2010-06-16 09:15:21 +02:00
parent 749e97db2b
commit 3b315edc2e

View File

@@ -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,
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,
addValueToProFile(pathElem, newRemoteDir); addValueToProFile(pathElem, newRemoteDir);
if (!writeProFileContents(&error)) { if (!writeProFileContents(&error)) {
qWarning(qPrintable(error)); qWarning("%s", qPrintable(error));
return false; return false;
} }