From kde-commits Tue Mar 02 21:52:49 2010 From: David Faure Date: Tue, 02 Mar 2010 21:52:49 +0000 To: kde-commits Subject: playground/base/plasma/applets/screen_control Message-Id: <1267566769.802385.20688.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=126756678217346 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 #include #include -#include +#include 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 ); }