summaryrefslogtreecommitdiffstats
path: root/lilo-config/kde-qt-common/general.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lilo-config/kde-qt-common/general.cpp')
-rw-r--r--lilo-config/kde-qt-common/general.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lilo-config/kde-qt-common/general.cpp b/lilo-config/kde-qt-common/general.cpp
index 858ba9c..bdfd12f 100644
--- a/lilo-config/kde-qt-common/general.cpp
+++ b/lilo-config/kde-qt-common/general.cpp
@@ -168,7 +168,7 @@ void General::saveChanges()
} else {
TQString mode=vga->currentText();
if(mode!="ask") {
- mode=mode.mid(mode.tqfind('(')+1);
+ mode=mode.mid(mode.find('(')+1);
mode=mode.left(mode.length()-1);
}
lilo->defaults.set("vga", mode.latin1());
@@ -201,7 +201,7 @@ void General::update()
vga->setCurrentItem(1);
else
for(int i=0; i<vga->count(); i++) {
- if(vga->text(i).tqcontains("(" + mode + ")")) {
+ if(vga->text(i).contains("(" + mode + ")")) {
vga->setCurrentItem(i);
break;
}