forked from qt-creator/qt-creator
ActionManager API cleanup.
d-pointer instead of inheritance static methods Change-Id: I7b2f0c8b05ad3951e1ff26a7d4e08e195d2dd258 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
**************************************************************************/
|
||||
|
||||
#include "coreplugin.h"
|
||||
#include "actionmanager.h"
|
||||
#include "designmode.h"
|
||||
#include "editmode.h"
|
||||
#include "editormanager.h"
|
||||
@@ -81,7 +82,7 @@ void CorePlugin::parseArguments(const QStringList &arguments)
|
||||
i++; // skip the argument
|
||||
}
|
||||
if (arguments.at(i) == QLatin1String("-presentationMode"))
|
||||
m_mainWindow->setPresentationModeEnabled(true);
|
||||
ActionManager::setPresentationModeEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user