forked from qt-creator/qt-creator
Move "Clear/Clean" icon from ProjectExplorer to Core
And use it in the menu entry for "Window->Output Panes->Clear" Change-Id: Iff8c011fde8a21fd10bf52b35163eb3f63659153 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -205,7 +205,7 @@ QmlProfilerTool::QmlProfilerTool(QObject *parent)
|
||||
setRecording(d->m_profilerState->clientRecording());
|
||||
|
||||
d->m_clearButton = new QToolButton;
|
||||
d->m_clearButton->setIcon(Core::Icons::CLEAN_PANE.icon());
|
||||
d->m_clearButton->setIcon(Core::Icons::CLEAN_TOOLBAR.icon());
|
||||
d->m_clearButton->setToolTip(tr("Discard data"));
|
||||
|
||||
connect(d->m_clearButton, &QAbstractButton::clicked, [this](){
|
||||
|
Reference in New Issue
Block a user