projects
/
qcpufreq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dad999f
)
Fix compiler warnings
author
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Wed, 3 Nov 2010 23:06:18 +0000
(
00:06
+0100)
committer
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Wed, 3 Nov 2010 23:06:18 +0000
(
00:06
+0100)
src/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/src/mainwindow.cpp
b/src/mainwindow.cpp
index
3034c12
..
64733c9
100644
(file)
--- a/
src/mainwindow.cpp
+++ b/
src/mainwindow.cpp
@@
-41,9
+41,7
@@
MainWindow::MainWindow(QWidget *parent) :
//create a QGraphicsScene for the little chip icon
scene( this ),
//the settings widget
//create a QGraphicsScene for the little chip icon
scene( this ),
//the settings widget
- settings(this),
- //show errors about the sudo setup only once
- showSudoError( true )
+ settings(this)
{
//this is a stacked window on Maemo 5
#if defined(Q_WS_MAEMO_5)
{
//this is a stacked window on Maemo 5
#if defined(Q_WS_MAEMO_5)
@@
-73,6
+71,9
@@
MainWindow::MainWindow(QWidget *parent) :
//Settings widget
settings.hide();
//Settings widget
settings.hide();
+ //show errors about the sudo setup only once
+ showSudoError = true;
+
//connect signals and slots
connect(ui->actionHelp, SIGNAL(triggered()), this, SLOT(showHelp()));
connect( ui->actionAbout, SIGNAL(triggered()), this, SLOT(about()) );
//connect signals and slots
connect(ui->actionHelp, SIGNAL(triggered()), this, SLOT(showHelp()));
connect( ui->actionAbout, SIGNAL(triggered()), this, SLOT(about()) );