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
v3.5.13-sru
tpearson 13 years ago
parent 5ccf69ae59
commit e436bd2166

@ -2288,10 +2288,11 @@ TQSize AsteroidStyle::tqsizeFromContents(ContentsType ct,
} }
case CT_MenuBar: { case CT_MenuBar: {
const TQMenuBar *mb = dynamic_cast<const TQMenuBar *>(w); // Fall through is intentional
int sh = TQFontInfo(mb->font()).pixelSize() + 4; // const TQMenuBar *mb = dynamic_cast<const TQMenuBar *>(w);
int sw = 10; // int sh = TQFontInfo(mb->font()).pixelSize() + 4;
return TQSize(sw, sh); // int sw = 10;
// return TQSize(sw, sh);
} }
case CT_Header: { case CT_Header: {

Loading…
Cancel
Save