diff options
Diffstat (limited to 'klipper/toplevel.cpp')
-rw-r--r-- | klipper/toplevel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/klipper/toplevel.cpp b/klipper/toplevel.cpp index ce539f825..cbbce7de5 100644 --- a/klipper/toplevel.cpp +++ b/klipper/toplevel.cpp @@ -1016,10 +1016,10 @@ bool KlipperWidget::ignoreClipboardChanges() const TQWidget *tqfocusWidget = tqApp->tqfocusWidget(); if ( tqfocusWidget ) { - if ( tqfocusWidget->inherits( "QSpinBox" ) || + if ( tqfocusWidget->inherits( TQSPINBOX_OBJECT_NAME_STRING ) || (tqfocusWidget->tqparentWidget() && - tqfocusWidget->inherits("QLineEdit") && - tqfocusWidget->tqparentWidget()->inherits("QSpinWidget")) ) + tqfocusWidget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) && + tqfocusWidget->tqparentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) ) { return true; } |