diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-05-24 21:21:46 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-05-24 21:21:46 (GMT) |
commit | 253bcd613e1935c5f93df581e3499e7d3f787208 (patch) | |
tree | 76b2394b3183aae14dacd249f8e804c709c21448 /Swift/QtUI/QtStatusWidget.h | |
parent | 6dffe5cf7d64fc134f4db81362404949da9c56c1 (diff) | |
download | swift-contrib-253bcd613e1935c5f93df581e3499e7d3f787208.zip swift-contrib-253bcd613e1935c5f93df581e3499e7d3f787208.tar.bz2 |
Allow setting status messages again.
This is not a nice solution to an unpleasant problem - Qt is telling us we've lost focus, so we cancel ... while we're in the middle of completing a successful status set. So we need to keep track and make sure we don't clear out the status on cancel if we're also accepting.
Diffstat (limited to 'Swift/QtUI/QtStatusWidget.h')
-rw-r--r-- | Swift/QtUI/QtStatusWidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtStatusWidget.h b/Swift/QtUI/QtStatusWidget.h index ef8b397..111bc84 100644 --- a/Swift/QtUI/QtStatusWidget.h +++ b/Swift/QtUI/QtStatusWidget.h @@ -48,12 +48,14 @@ namespace Swift { QLabel* statusTextLabel_; QtLineEdit* statusEdit_; QString statusText_; + QString newStatusText_; QMap<StatusShow::Type, QIcon> icons_; StatusShow::Type selectedStatusType_; bool isClicking_; QListWidget* menu_; QCursor editCursor_; QCursor viewCursor_; + bool editing_; }; } |