summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-11-09 12:46:56 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-12-23 11:46:07 (GMT)
commit6dd8736e93c6881677c4132307289cccb663fe00 (patch)
treece768ba89d4e9c230de3a54a82099e6475b8fb10 /Swift
parent90e22d09c0e7131744c9e343622013547319daf7 (diff)
downloadswift-6dd8736e93c6881677c4132307289cccb663fe00.zip
swift-6dd8736e93c6881677c4132307289cccb663fe00.tar.bz2
Clear out status message when setting a new one.
We remember recent presence so this probably makes more sense - it means you immediately get a chance to type what you want with the dropdown showing recents. Change-Id: Ic042a863c37fc7f35d987aaf4f2dc040522116bb
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtStatusWidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swift/QtUI/QtStatusWidget.cpp b/Swift/QtUI/QtStatusWidget.cpp
index 7c1c831..1899b71 100644
--- a/Swift/QtUI/QtStatusWidget.cpp
+++ b/Swift/QtUI/QtStatusWidget.cpp
@@ -199,11 +199,11 @@ void QtStatusWidget::handleClicked() {
if (x + width > screenWidth) {
x = screenWidth - width;
}
- foreach (StatusShow::Type type, allTypes_) {
- if (statusEdit_->text() == P2QSTRING(statusShowTypeToFriendlyName(type))) {
+ //foreach (StatusShow::Type type, allTypes_) {
+ // if (statusEdit_->text() == P2QSTRING(statusShowTypeToFriendlyName(type))) {
statusEdit_->setText("");
- }
- }
+ // }
+ //}
generateList();
height = menu_->sizeHintForRow(0) * menu_->count();