diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-02 04:18:40 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-02 04:18:40 +0000 |
commit | 2a899a60c990d7254f579f463187eb0a55a14a64 (patch) | |
tree | 90060d127fdd32e2d2efd4972baf297b0299bea7 /konsole | |
parent | 52fcbf9fceb7b4fc9a5a8a94352e58496591771f (diff) | |
download | tdebase-2a899a60c990d7254f579f463187eb0a55a14a64.tar.gz tdebase-2a899a60c990d7254f579f463187eb0a55a14a64.zip |
[CRITICAL] Fix additional rendering issues left over from initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1181781 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 e8dacbe5e..ecef79d4a 100644 --- a/konsole/konsole/konsole.cpp +++ b/konsole/konsole/konsole.cpp @@ -479,7 +479,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") && + if (sender() && sender()->inherits("QPopupMenu") && static_cast<const TQPopupMenu *>(sender())->count() == 1) const_cast<TQPopupMenu *>(static_cast<const TQPopupMenu *>(sender()))->removeItemAt(0); } |