forked from qt-creator/qt-creator
Maemo: Compile fix.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user