From: Dirk H Bartley Date: Sun, 27 May 2007 13:13:06 +0000 (+0000) Subject: Fix of connect of actionConnect from slot connect() to slot connect_dir() X-Git-Tag: Release-7.0.0~6226 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26523ddccbe0c1bb222af3ffcce9a3fcb8e0ff7b;p=bacula%2Fbacula Fix of connect of actionConnect from slot connect() to slot connect_dir() git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4919 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/mainwin.cpp b/bacula/src/qt-console/mainwin.cpp index 2ae2832f00..a56c8c68c1 100644 --- a/bacula/src/qt-console/mainwin.cpp +++ b/bacula/src/qt-console/mainwin.cpp @@ -388,7 +388,7 @@ void MainWin::treeItemChanged(QTreeWidgetItem *currentitem, QTreeWidgetItem *pre if ((previousPage) || (previousConsole)) { if (nextConsole != previousConsole) { /* remove connections to the current console */ - disconnect(actionConnect, SIGNAL(triggered()), previousConsole, SLOT(connect())); + disconnect(actionConnect, SIGNAL(triggered()), previousConsole, SLOT(connect_dir())); disconnect(actionStatusDir, SIGNAL(triggered()), previousConsole, SLOT(status_dir())); disconnect(actionMessages, SIGNAL(triggered()), previousConsole, SLOT(messages())); disconnect(actionSelectFont, SIGNAL(triggered()), previousConsole, SLOT(set_font())); @@ -414,7 +414,7 @@ void MainWin::treeItemChanged(QTreeWidgetItem *currentitem, QTreeWidgetItem *pre if (nextConsole != previousConsole) { /* make connections to the current console */ m_currentConsole = nextConsole; - connect(actionConnect, SIGNAL(triggered()), m_currentConsole, SLOT(connect())); + connect(actionConnect, SIGNAL(triggered()), m_currentConsole, SLOT(connect_dir())); connect(actionSelectFont, SIGNAL(triggered()), m_currentConsole, SLOT(set_font())); connect(actionStatusDir, SIGNAL(triggered()), m_currentConsole, SLOT(status_dir())); connect(actionMessages, SIGNAL(triggered()), m_currentConsole, SLOT(messages()));