forked from qt-creator/qt-creator
Normalize connect()
Change-Id: I1e4098f6aaff5a75dea2e786f3f4404ed7e6ba76 Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -100,8 +100,8 @@ bool BeautifierPlugin::initialize(const QStringList &arguments, QString *errorSt
|
||||
void BeautifierPlugin::extensionsInitialized()
|
||||
{
|
||||
if (const Core::EditorManager *editorManager = Core::EditorManager::instance()) {
|
||||
connect(editorManager, SIGNAL(currentEditorChanged(Core::IEditor *)),
|
||||
this, SLOT(updateActions(Core::IEditor *)));
|
||||
connect(editorManager, SIGNAL(currentEditorChanged(Core::IEditor*)),
|
||||
this, SLOT(updateActions(Core::IEditor*)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user