[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/akregator/src
From: Teemu Rytilahti <tpr () d5k ! net>
Date: 2008-08-21 23:23:44
Message-ID: 1219361024.200723.31787.nullmailer () svn ! kde ! org
[Download RAW message or body]
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 <QClipboard>
#include <QHash>
#include <QString>
-#include <QPushButton>
+#include <QToolButton>
#include <QMenu>
#include <QStyleOption>
@@ -74,7 +74,7 @@
QHash<int, Frame*> 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() ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic