diff options
Diffstat (limited to 'klipper')
-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 ec8dec11a..8b2bcb0eb 100644 --- a/klipper/toplevel.cpp +++ b/klipper/toplevel.cpp @@ -1016,10 +1016,10 @@ bool KlipperWidget::ignoreClipboardChanges() const TQWidget *focusWidget = qApp->focusWidget(); if ( focusWidget ) { - if ( focusWidget->inherits( "TQSpinBox" ) || + if ( focusWidget->inherits( "QSpinBox" ) || (focusWidget->parentWidget() && - focusWidget->inherits("TQLineEdit") && - focusWidget->parentWidget()->inherits("TQSpinWidget")) ) + focusWidget->inherits("QLineEdit") && + focusWidget->parentWidget()->inherits("QSpinWidget")) ) { return true; } |