diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 10:17:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-13 10:08:05 +0900 |
commit | 22625693f124aae09863f4d33e30b625a96c3557 (patch) | |
tree | f8c5e348d163222d25d1e0de896910bb06ce7aed /konsole | |
parent | 0d30cdb3832749dc273f6d7bb82859937a462b43 (diff) | |
download | tdebase-22625693f124aae09863f4d33e30b625a96c3557.tar.gz tdebase-22625693f124aae09863f4d33e30b625a96c3557.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konsole')
-rw-r--r-- | konsole/konsole/konsole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/konsole/konsole/konsole.cpp b/konsole/konsole/konsole.cpp index 11fae96d1..6bdb07e6d 100644 --- a/konsole/konsole/konsole.cpp +++ b/konsole/konsole/konsole.cpp @@ -498,7 +498,7 @@ void Konsole::makeGUI() // Remove the empty separator Qt inserts if the menu is empty on popup, // not sure if this will be "fixed" in Qt, for now use this hack (malte) if(!(isRestored)) { - if (sender() && sender()->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) && + if (sender() && sender()->inherits("TQPopupMenu") && static_cast<const TQPopupMenu *>(sender())->count() == 1) const_cast<TQPopupMenu *>(static_cast<const TQPopupMenu *>(sender()))->removeItemAt(0); } |