Rename a few stragglers

r14.0.x
Timothy Pearson 13 years ago
parent ba5125fe4c
commit c62343678e

@ -65,7 +65,7 @@ MenuBarButton::MenuBarButton(const TQString &icon, TQWidget *parent)
: TQToolButton(parent, "menu_bar_button") : TQToolButton(parent, "menu_bar_button")
{ {
TQFontMetrics fm(font()); TQFontMetrics fm(font());
int h = fm.height() + 2*tqstyle().pixelMetric(TQStyle::PM_DefaultFrameWidth, this); int h = fm.height() + 2*style().pixelMetric(TQStyle::PM_DefaultFrameWidth, this);
setFixedHeight(h); setFixedHeight(h);
KIconLoader loader; KIconLoader loader;
setIconSet(loader.loadIconSet(icon, KIcon::Small, fm.height()-2)); setIconSet(loader.loadIconSet(icon, KIcon::Small, fm.height()-2));

Loading…
Cancel
Save