SVN commit 850662 by rytilahti: use qtoolbutton for closing the tab button instead of pushbutton, to be consistent with konqueror M +3 -3 tabwidget.cpp --- trunk/KDE/kdepim/akregator/src/tabwidget.cpp #850661:850662 @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include @@ -74,7 +74,7 @@ QHash framesById; int currentMaxLength; QWidget* currentItem; - QPushButton* tabsClose; + QToolButton* tabsClose; uint tabBarWidthForMaxChars(int maxLength); void setTitle(const QString &title , QWidget* sender); @@ -100,7 +100,7 @@ this, SLOT(slotCloseRequest(QWidget*))); setHoverCloseButton(Settings::closeButtonOnTabs()); - d->tabsClose = new QPushButton(this); + d->tabsClose = new QToolButton(this); d->tabsClose->setShortcut(QKeySequence("Ctrl+W")); connect( d->tabsClose, SIGNAL( clicked() ), this, SLOT( slotRemoveCurrentFrame() ) );