Commit cc6a4a52 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Fix enumeration slot warning.

Do not pass around flags QFlags by const-reference.
parent 8e627151
......@@ -879,7 +879,7 @@ public slots:
void onAction();
void setSimpleDockWidgetArrangement(const DebuggerLanguages &activeLanguages);
void setSimpleDockWidgetArrangement(Debugger::DebuggerLanguages activeLanguages);
void editorOpened(Core::IEditor *editor);
void editorAboutToClose(Core::IEditor *editor);
......@@ -2177,7 +2177,7 @@ void DebuggerPluginPrivate::setBusyCursor(bool busy)
void DebuggerPluginPrivate::setSimpleDockWidgetArrangement
(const DebuggerLanguages &activeLanguages)
(Debugger::DebuggerLanguages activeLanguages)
Debugger::DebuggerUISwitcher *uiSwitcher = DebuggerUISwitcher::instance();
DebuggerMainWindow *mw = mainWindow();
......@@ -117,7 +117,7 @@ signals:
// emit when user changes active languages from the menu.
// Both UI and debugger startup are affected.
void activeLanguagesChanged(Debugger::DebuggerLanguages activeLanguages);
void dockResetRequested(const Debugger::DebuggerLanguages &activeLanguages);
void dockResetRequested(Debugger::DebuggerLanguages activeLanguages);
void memoryEditorRequested();
private slots:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment