SubversionClient: Use Qt5 style connect

Change-Id: I88f1de02edcb6c4406de64745ccc4cfc85f3d562
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-05-07 14:16:15 +02:00
committed by Orgad Shaneh
parent 5b7e8f42c1
commit 2b66e48bcf

View File

@@ -234,8 +234,7 @@ void DiffController::postCollectTextualDiffOutput()
{ {
auto command = new VcsCommand(m_workingDirectory, processEnvironment()); auto command = new VcsCommand(m_workingDirectory, processEnvironment());
command->setCodec(EditorManager::defaultTextCodec()); command->setCodec(EditorManager::defaultTextCodec());
connect(command, SIGNAL(output(QString)), connect(command, &VcsCommand::output, this, &DiffController::slotTextualDiffOutputReceived);
this, SLOT(slotTextualDiffOutputReceived(QString)));
// command->addFlags(diffExecutionFlags()); // command->addFlags(diffExecutionFlags());
QStringList args; QStringList args;