aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-08-31 23:18:45 +0000
committerGerald Combs <gerald@wireshark.org>2012-08-31 23:18:45 +0000
commit3751353a7096bc9fe032fa8ae861e1d8ebc39970 (patch)
treea4ca9767ea2ceba108535c69a93aa9d0c8baafa3 /ui
parentcf4ac2931e668bc2c554cee182312dc534f1efe2 (diff)
Connect and disconnect our signals correctly.
Capture still doesn't work correctly under Windows. svn path=/trunk/; revision=44717
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index 5d70620b3c..d26b535a19 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -239,12 +239,12 @@ void MainWindow::setPipeInputHandler(gint source, gpointer user_data, int *child
/*g_log(NULL, G_LOG_LEVEL_DEBUG, "pipe_input_set_handler: new");*/
if (pipe_timer_) {
- disconnect(pipe_timer_, SIGNAL(timeout), this, SLOT(pipeTimeout));
+ disconnect(pipe_timer_, SIGNAL(timeout()), this, SLOT(pipeTimeout()));
delete pipe_timer_;
}
pipe_timer_ = new QTimer(this);
- connect(pipe_timer_, SIGNAL(timeout), this, SLOT(pipeTimeout));
+ connect(pipe_timer_, SIGNAL(timeout()), this, SLOT(pipeTimeout()));
pipe_timer_->start(200);
#else
if (pipe_notifier_) {