diff options
Diffstat (limited to 'kcontrol/screensaver')
-rw-r--r-- | kcontrol/screensaver/scrnsave.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/screensaver/scrnsave.cpp b/kcontrol/screensaver/scrnsave.cpp index 87d4b3208..9f0463c7d 100644 --- a/kcontrol/screensaver/scrnsave.cpp +++ b/kcontrol/screensaver/scrnsave.cpp @@ -639,9 +639,9 @@ void KScreenSaver::slotScreenSaver(TQListViewItem *item) int i = 0, indx = -1; for (SaverConfig* saver = mSaverList.first(); saver != 0; saver = mSaverList.next()) { - if ( item->tqparent() ) + if ( item->parent() ) { - if ( item->tqparent()->text( 0 ) == saver->category() && saver->name() == item->text (0)) + if ( item->parent()->text( 0 ) == saver->category() && saver->name() == item->text (0)) { indx = i; break; |