From 5f7fbe34be0eec3ec9d1c79de3fb4658543c129b Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Sun, 27 May 2007 13:13:06 +0000 Subject: [PATCH] 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 --- bacula/src/qt-console/mainwin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())); -- 2.39.5