summaryrefslogtreecommitdiffstats
path: root/konsole
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-02 04:18:40 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-02 04:18:40 +0000
commit2a899a60c990d7254f579f463187eb0a55a14a64 (patch)
tree90060d127fdd32e2d2efd4972baf297b0299bea7 /konsole
parent52fcbf9fceb7b4fc9a5a8a94352e58496591771f (diff)
downloadtdebase-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.cpp2
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);
}