if [ -e /opt/usr/bin/QCPUFreq ]; then
chmod a+x /opt/usr/bin/QCPUFreq
chmod a+x /opt/usr/bin/set_scalingmaxfreq
+ chmod a+x /opt/usr/bin/set_sr
fi
#include <QTextStream>
#include <QProcess>
#include <QDesktopWidget>
+#if defined(Q_WS_MAEMO_5)
+ #include <QMaemo5InformationBox>
+#endif
#define APPNAME "QCPUFreq"
void MainWindow::about()
{
QMessageBox::about(this, APPNAME " " APPVERSION, "<p style=\"align:center;\">© 2010 Daniel Klaffenbach</p>" );
+ refresh();
}
if ( getSmartReflexState() == 1 )
arguments.append( "off" );
- else
+ else {
+ QMaemo5InformationBox::information(this, tr( "SmartReflex support is known to be unstable on some devices and may cause random reboots." ), QMaemo5InformationBox::DefaultTimeout);
arguments.append( "on" );
+ }
//execute the sr script script
QProcess script;