]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix of connect of actionConnect from slot connect() to slot connect_dir()
authorDirk H Bartley <dbartley@schupan.com>
Sun, 27 May 2007 13:13:06 +0000 (13:13 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Sun, 27 May 2007 13:13:06 +0000 (13:13 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4919 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/mainwin.cpp

index 2ae2832f00c1699d046faa9db9eff2fb96c835d5..a56c8c68c1668a237af5abfc2393e589af9185b3 100644 (file)
@@ -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()));