From kde-commits Thu Aug 21 23:23:44 2008 From: Teemu Rytilahti Date: Thu, 21 Aug 2008 23:23:44 +0000 To: kde-commits Subject: KDE/kdepim/akregator/src Message-Id: <1219361024.200723.31787.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121936103905411 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() ) );