forked from qt-creator/qt-creator
Valgrind: Use OPENFILE_TOOLBAR in toolbars
Change-Id: Ib154f6352006b827b771d033eddc939ac4dc6dfe Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -364,7 +364,7 @@ CallgrindTool::CallgrindTool()
|
||||
|
||||
// load external log file
|
||||
action = m_loadExternalLogFile = new QAction(this);
|
||||
action->setIcon(Utils::Icons::OPENFILE.icon());
|
||||
action->setIcon(Utils::Icons::OPENFILE_TOOLBAR.icon());
|
||||
action->setToolTip(tr("Load External Log File"));
|
||||
connect(action, &QAction::triggered, this, &CallgrindTool::loadExternalLogFile);
|
||||
|
||||
|
||||
@@ -599,7 +599,7 @@ MemcheckTool::MemcheckTool()
|
||||
|
||||
// Load external XML log file
|
||||
auto action = new QAction(this);
|
||||
action->setIcon(Icons::OPENFILE.icon());
|
||||
action->setIcon(Icons::OPENFILE_TOOLBAR.icon());
|
||||
action->setToolTip(tr("Load External XML Log File"));
|
||||
connect(action, &QAction::triggered, this, &MemcheckTool::loadExternalXmlLogFile);
|
||||
m_loadExternalLogFile = action;
|
||||
|
||||
Reference in New Issue
Block a user