From: Manuel Nickschas Date: Tue, 24 Nov 2009 08:12:28 +0000 (+0100) Subject: Also show error messages in the status bar X-Git-Tag: 0.6-beta1~158 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=01e2f218ef5b1cf2e8c2eb1b0d3b7d9c3ad878e5 Also show error messages in the status bar --- diff --git a/src/qtui/coreconnectionstatuswidget.cpp b/src/qtui/coreconnectionstatuswidget.cpp index 11321b54..bc78fc68 100644 --- a/src/qtui/coreconnectionstatuswidget.cpp +++ b/src/qtui/coreconnectionstatuswidget.cpp @@ -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() {