From 559980d63badb5d1fd30c70a360268ca1d54d4ef Mon Sep 17 00:00:00 2001 From: Michail Pishchagin Date: Sun, 7 Feb 2010 13:42:08 +0300 Subject: [PATCH] Fixed StatusSetDlg. --- src/statusdlg.cpp | 4 ++-- src/statusdlg.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/statusdlg.cpp b/src/statusdlg.cpp index 8fda4777..fd467bfa 100644 --- a/src/statusdlg.cpp +++ b/src/statusdlg.cpp @@ -248,9 +248,9 @@ void StatusSetDlg::doButton() QString str = d->te->getPlainText(); if (d->le_priority->text().isEmpty()) - emit set(makeStatus(type, str), false); + emit set(makeStatus(type, str), false, true); else - emit set(makeStatus(type, str, d->le_priority->text().toInt()), true); + emit set(makeStatus(type, str, d->le_priority->text().toInt()), true, true); close(); } diff --git a/src/statusdlg.h b/src/statusdlg.h index 7e49cd04..1e0f1a69 100644 --- a/src/statusdlg.h +++ b/src/statusdlg.h @@ -49,7 +49,7 @@ class StatusSetDlg : public QDialog ~StatusSetDlg(); signals: - void set(const XMPP::Status &, bool withPriority); + void set(const XMPP::Status &, bool withPriority, bool isManualStatus); void cancelled(); private slots: