[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/screen_control
From: David Faure <faure () kde ! org>
Date: 2010-03-02 21:52:49
Message-ID: 1267566769.802385.20688.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1098111 by dfaure:
Fix "outputframe.cpp:210: error: format not a string literal and no format arguments"
M +4 -4 outputframe.cpp
--- trunk/playground/base/plasma/applets/screen_control/outputframe.cpp #1098110:1098111
@@ -11,7 +11,7 @@
#include <KComboBox>
#include <kephal/configurations.h>
#include <kephal/kephal.h>
-#include <QtDebug>
+#include <KDebug>
OutputFrame::OutputFrame( Kephal::Output* output, QGraphicsWidget *parent ) :
Plasma::Frame(parent), m_output(output) {
@@ -207,7 +207,7 @@
QSize size = resolution_selector -> nativeWidget() -> itemData( index ).toSize();
command += " --mode " + QVariant(size.width()).toString() +"x"+ QVariant(size.height()).toString();
}
- qDebug(command.toLatin1());
+ kDebug() << command;
QProcess::execute ( command );
// handle rates
@@ -216,7 +216,7 @@
index = refresh_selector -> nativeWidget() -> currentIndex();
QString rate = refresh_selector -> nativeWidget() -> itemData( index ).toString();
command += " --rate " + rate;
- qDebug(command.toLatin1());
+ kDebug() << command;
QProcess::execute ( command );
// handle orientation
@@ -241,7 +241,7 @@
command += " --rotate left";
break;
}
- qDebug(command.toLatin1());
+ kDebug() << command;
QProcess::execute ( command );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic