forked from qt-creator/qt-creator
Core: Remove slot-by-name reference
Replace by lambda. Change-Id: I50a4a8b6db9790d06b3f60f5de7691b85f54995c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
e9296db573
commit
b2c74838e2
@@ -287,10 +287,9 @@ void MacroManager::startMacro()
|
||||
QString executeShortcut = Core::ActionManager::command(Constants::EXECUTE_LAST_MACRO)->keySequence().toString();
|
||||
QString help = tr("Macro mode. Type \"%1\" to stop recording and \"%2\" to play the macro.")
|
||||
.arg(endShortcut).arg(executeShortcut);
|
||||
Core::EditorManager::showEditorStatusBar(
|
||||
QLatin1String(Constants::M_STATUS_BUFFER),
|
||||
help,
|
||||
tr("Stop Recording Macro"), this, SLOT(endMacro()));
|
||||
Core::EditorManager::showEditorStatusBar(Constants::M_STATUS_BUFFER, help,
|
||||
tr("Stop Recording Macro"),
|
||||
this, [this] { endMacro(); });
|
||||
}
|
||||
|
||||
void MacroManager::endMacro()
|
||||
|
||||
@@ -56,8 +56,6 @@ public:
|
||||
void executeLastMacro();
|
||||
void saveLastMacro();
|
||||
bool executeMacro(const QString &name);
|
||||
|
||||
public slots:
|
||||
void endMacro();
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user