diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:48:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 20:26:36 +0900 |
commit | 5b51c9fc784f692e2df23253181a618f94d0db73 (patch) | |
tree | e9100a0e8efdff5cc02df9f034553eaed5aebbfb /kommander/editor/command.cpp | |
parent | 6d4be82cca25be5191a287efca0ebaaa2777875e (diff) | |
download | tdewebdev-5b51c9fc784f692e2df23253181a618f94d0db73.tar.gz tdewebdev-5b51c9fc784f692e2df23253181a618f94d0db73.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9)
Diffstat (limited to 'kommander/editor/command.cpp')
-rw-r--r-- | kommander/editor/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kommander/editor/command.cpp b/kommander/editor/command.cpp index adc74084..89a214b6 100644 --- a/kommander/editor/command.cpp +++ b/kommander/editor/command.cpp @@ -430,7 +430,7 @@ void SetPropertyCommand::execute() if ( isResetCommand ) { MetaDataBase::setPropertyChanged( widget, propName, false ); if ( WidgetFactory::resetProperty( widget, propName ) ) { - if ( !formWindow()->isWidgetSelected( widget ) && TQT_BASE_OBJECT(widget) != TQT_BASE_OBJECT(formWindow()) ) + if ( !formWindow()->isWidgetSelected( widget ) && widget != formWindow() ) formWindow()->selectWidget( widget ); if ( editor->widget() != widget ) editor->setWidget( widget, formWindow() ); |