Commit 22fe7942 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Clear Part out of Qt4 style connects

parent b4dab69f
......@@ -283,11 +283,8 @@ void Part::activeViewChanged(SessionController *controller)
connect(controller, &Konsole::SessionController::currentDirectoryChanged, this,
&Konsole::Part::currentDirectoryChanged);
const char *displaySignal = SIGNAL(overrideShortcutCheck(QKeyEvent*,bool&));
const char *partSlot = SLOT(overrideTerminalShortcut(QKeyEvent*,bool&));
disconnect(controller->view(), displaySignal, this, partSlot);
connect(controller->view(), displaySignal, this, partSlot);
disconnect(controller->view(), &TerminalDisplay::overrideShortcutCheck, this, &Part::overrideTerminalShortcut);
connect(controller->view(), &TerminalDisplay::overrideShortcutCheck, this, &Part::overrideTerminalShortcut);
_pluggedController = controller;
}
......
Markdown is supported
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