summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-15 06:20:03 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-15 06:20:03 +0000
commite436bd2166d6af00e96dc9a254bc4abac7f1eccf (patch)
tree8a0295bba946addbbe8ab018ff4a2656e669a2de
parent5ccf69ae5927a6978b1f7bf70205822f06e61bd0 (diff)
downloadtdelibs-e436bd2166d6af00e96dc9a254bc4abac7f1eccf.tar.gz
tdelibs-e436bd2166d6af00e96dc9a254bc4abac7f1eccf.zip
Fix Asteroid widget style menu bars in Amarok
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1247228 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kstyles/asteroid/asteroid.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/kstyles/asteroid/asteroid.cpp b/kstyles/asteroid/asteroid.cpp
index cef3b00f8..7aa60985f 100644
--- a/kstyles/asteroid/asteroid.cpp
+++ b/kstyles/asteroid/asteroid.cpp
@@ -2288,10 +2288,11 @@ TQSize AsteroidStyle::tqsizeFromContents(ContentsType ct,
}
case CT_MenuBar: {
- const TQMenuBar *mb = dynamic_cast<const TQMenuBar *>(w);
- int sh = TQFontInfo(mb->font()).pixelSize() + 4;
- int sw = 10;
- return TQSize(sw, sh);
+ // Fall through is intentional
+// const TQMenuBar *mb = dynamic_cast<const TQMenuBar *>(w);
+// int sh = TQFontInfo(mb->font()).pixelSize() + 4;
+// int sw = 10;
+// return TQSize(sw, sh);
}
case CT_Header: {