summaryrefslogtreecommitdiffstats
path: root/lilo-config/kde-qt-common/images.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lilo-config/kde-qt-common/images.cpp')
-rw-r--r--lilo-config/kde-qt-common/images.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lilo-config/kde-qt-common/images.cpp b/lilo-config/kde-qt-common/images.cpp
index bdbdac4..a4872c0 100644
--- a/lilo-config/kde-qt-common/images.cpp
+++ b/lilo-config/kde-qt-common/images.cpp
@@ -131,7 +131,7 @@ void Images::probeClicked() // SLOT
void Images::dfltClicked() // SLOT
{
if (images->currentItem() < 0) return;
- lilo->setDefault(images->currentText().tqreplace(TQRegExp(" (default)", true, true), "").latin1());
+ lilo->setDefault(images->currentText().replace(TQRegExp(" (default)", true, true), "").latin1());
update();
emit configChanged();
}
@@ -246,7 +246,7 @@ void Images::removeClicked() // SLOT
TQString value(TQString const &s)
{
- TQString r=s.mid(s.tqfind('=')+1).simplifyWhiteSpace();
+ TQString r=s.mid(s.find('=')+1).simplifyWhiteSpace();
if(r.left(1)=="\"")
r=r.mid(1);
if(r.right(1)=="\"")