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 ); }