forked from qt-creator/qt-creator
VcsBase: Fix build
... broken by the last build fix:-( Sometimes you should just wait for the build to finish before rushing out a build fix, even if it seemed trivial. Change-Id: Ifaaf962b289e6131fb9cfd4820e2582ace7a3972 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -101,8 +101,8 @@ VcsBaseClientPrivate::VcsBaseClientPrivate(VcsBaseClient *client, VcsBaseClientS
|
|||||||
void VcsBaseClientPrivate::bindCommandToEditor(VcsCommand *cmd, VcsBaseEditorWidget *editor)
|
void VcsBaseClientPrivate::bindCommandToEditor(VcsCommand *cmd, VcsBaseEditorWidget *editor)
|
||||||
{
|
{
|
||||||
editor->setCommand(cmd);
|
editor->setCommand(cmd);
|
||||||
connect(cmd, &VcsCommand::finished,
|
QObject::connect(cmd, &VcsCommand::finished,
|
||||||
m_cmdFinishedMapper, static_cast<void (QSignalMapper::*)()>(&QSignalMapper::map));
|
m_cmdFinishedMapper, static_cast<void (QSignalMapper::*)()>(&QSignalMapper::map));
|
||||||
m_cmdFinishedMapper->setMapping(cmd, editor);
|
m_cmdFinishedMapper->setMapping(cmd, editor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user