forked from qt-creator/qt-creator
InfoBar: Introduce global suppression
* Generalize "Do not show again" * Use in CMakeEditor Change-Id: Ia86b7c79b9022cbfcd06fed02b94fe0b15c87a56 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "mainwindow.h"
|
||||
#include "mimedatabase.h"
|
||||
#include "modemanager.h"
|
||||
#include "infobar.h"
|
||||
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
@@ -92,6 +93,7 @@ bool CorePlugin::initialize(const QStringList &arguments, QString *errorMessage)
|
||||
addObject(m_editMode);
|
||||
ModeManager::activateMode(m_editMode->id());
|
||||
m_designMode = new DesignMode;
|
||||
InfoBar::initializeGloballySuppressed();
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
Reference in New Issue
Block a user