summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@nokia.com>2012-01-16 23:42:54 +0100
committerTim Jenssen <tim.jenssen@nokia.com>2012-01-17 12:05:35 +0100
commit376804db8788bfde1985b9d2bbc14af68e9c9260 (patch)
treeb9eeb78e473ce4e98087f00e625fe31350188221 /installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
parente5c477906fd506cf06ac95311a5b3512a6d85e47 (diff)
Use qDebug instead of verbose.
The message handler now forwards everything to the verbosew riter anyway. Change-Id: I822f86e8f2e2e7690a3b855ed83199d2f41dc480 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder/libinstaller/setexamplespathonqtoperation.cpp')
-rw-r--r--installerbuilder/libinstaller/setexamplespathonqtoperation.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp b/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
index cdd42d8a7..5821ac838 100644
--- a/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
+++ b/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
@@ -32,11 +32,11 @@
**************************************************************************/
#include "setexamplespathonqtoperation.h"
-#include "common/utils.h"
#include "qtpatch.h"
#include <QtCore/QDir>
#include <QtCore/QSettings>
+#include <QtCore/QDebug>
using namespace QInstaller;
@@ -82,8 +82,7 @@ bool SetExamplesPathOnQtOperation::performOperation()
QByteArray oldValue = qmakeValueHash.value(QLatin1String("QT_INSTALL_EXAMPLES"));
bool oldQtPathFromQMakeIsEmpty = oldValue.isEmpty();
if (oldQtPathFromQMakeIsEmpty) {
- verbose() << "qpatch: warning: It was not able to get the old values from " << qPrintable(qmakePath)
- << std::endl;
+ qDebug() << "qpatch: warning: It was not able to get the old values from" << qmakePath;
}
if (255 < newValue.size()) {
@@ -105,8 +104,7 @@ bool SetExamplesPathOnQtOperation::performOperation()
bool isPatched = QtPatch::patchBinaryFile(qmakePath, oldValue, newValue);
if (!isPatched) {
- QInstaller::verbose() << "qpatch: warning: could not patched the example path in "
- << qPrintable(qmakePath) << std::endl;
+ qDebug() << "qpatch: warning: could not patched the example path in" << qmakePath;
}
return true;