Skip to content

Commit

Permalink
Fixed StatusSetDlg.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblsha committed Feb 7, 2010
1 parent ff32fbc commit 559980d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/statusdlg.cpp
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion src/statusdlg.h
Expand Up @@ -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:
Expand Down

0 comments on commit 559980d

Please sign in to comment.