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:
Orgad Shaneh
2013-01-10 18:18:28 +02:00
committed by hjk
parent 4ef8bd534d
commit a4c34dc7de
4 changed files with 63 additions and 8 deletions

View File

@@ -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;
}