forked from qt-creator/qt-creator
New close split buttons.
This change moves the "close document" button back to the top-left and instead changes the icon on the "close split" buttons. Change-Id: I187c3f707f38ea8edef996cb5393654015d551ca Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
This commit is contained in:
committed by
Virva Auvinen
parent
af6b2dc6ae
commit
d3abbae211
@@ -83,7 +83,7 @@ SideBarWidget::SideBarWidget(SideBar *sideBar, const QString &id)
|
||||
|
||||
QAction *closeAction = new QAction(tr("Close"), m_toolbar);
|
||||
closeAction->setToolTip(tr("Close"));
|
||||
closeAction->setIcon(QIcon(QLatin1String(Constants::ICON_CLOSE)));
|
||||
closeAction->setIcon(QIcon(QLatin1String(Constants::ICON_CLOSE_SPLIT_TOP)));
|
||||
connect(closeAction, SIGNAL(triggered()), this, SIGNAL(closeMe()));
|
||||
m_toolbar->addAction(closeAction);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user