Also show error messages in the status bar
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 24 Nov 2009 08:12:28 +0000 (09:12 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 28 Nov 2009 23:39:41 +0000 (00:39 +0100)
src/qtui/coreconnectionstatuswidget.cpp

index 11321b5..bc78fc6 100644 (file)
@@ -35,6 +35,8 @@ CoreConnectionStatusWidget::CoreConnectionStatusWidget(CoreConnection *connectio
   connect(coreConnection(), SIGNAL(progressValueChanged(int)), ui.progressBar, SLOT(setValue(int)));
   connect(coreConnection(), SIGNAL(progressRangeChanged(int, int)), ui.progressBar, SLOT(setRange(int, int)));
   connect(coreConnection(), SIGNAL(progressRangeChanged(int, int)), this, SLOT(progressRangeChanged(int, int)));
+
+  connect(coreConnection(), SIGNAL(connectionError(QString)), ui.messageLabel, SLOT(setText(QString)));
 }
 
 void CoreConnectionStatusWidget::update() {