From e436bd2166d6af00e96dc9a254bc4abac7f1eccf Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 15 Aug 2011 06:20:03 +0000 Subject: [PATCH] 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 --- kstyles/asteroid/asteroid.cpp | 9 +++++---- 1 file 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(w); - int sh = TQFontInfo(mb->font()).pixelSize() + 4; - int sw = 10; - return TQSize(sw, sh); + // Fall through is intentional +// const TQMenuBar *mb = dynamic_cast(w); +// int sh = TQFontInfo(mb->font()).pixelSize() + 4; +// int sw = 10; +// return TQSize(sw, sh); } case CT_Header: {