diff options
Diffstat (limited to 'src/configuredialog.cpp')
-rw-r--r-- | src/configuredialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configuredialog.cpp b/src/configuredialog.cpp index 196b26b..a0e45ae 100644 --- a/src/configuredialog.cpp +++ b/src/configuredialog.cpp @@ -146,7 +146,7 @@ void ConfigureDialog::setSchemeList(){ cB_batteryScheme->clear(); for ( QStringList::Iterator it = schemes.begin(); it != schemes.end(); ++it ) { - QString _tmp = *it; + const char *_tmp = (*it).ascii(); if(_tmp == "Performance" || _tmp == i18n("Performance")) { listBox_schemes->insertItem(SmallIcon("scheme_power", QIconSet::Automatic), i18n(_tmp)); cB_acScheme->insertItem(i18n(_tmp)); @@ -1271,7 +1271,7 @@ void ConfigureDialog::setInactivityBox(){ // actions.append("Turn Off Computer"); for ( QStringList::Iterator it = actions.begin(); it != actions.end(); ++it ) { - cB_autoInactivity->insertItem( i18n( *it ) ); + cB_autoInactivity->insertItem( i18n( (*it).ascii() ) ); } kdDebugFuncOut(trace); |