diff options
author | Richard Maudsley <richard.maudsley@isode.com> | 2014-07-28 12:52:25 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-07-29 06:46:46 (GMT) |
commit | 8767caf20b83f5b6e4c52c3818c92a6238e208c4 (patch) | |
tree | b18d96d2f04040b27a71754a3a5a7b197fbd5ad7 /Swift/QtUI/QtChatWindow.h | |
parent | 170e408e18579ceac6520a404ad945fcda404248 (diff) | |
download | swift-contrib-8767caf20b83f5b6e4c52c3818c92a6238e208c4.zip swift-contrib-8767caf20b83f5b6e4c52c3818c92a6238e208c4.tar.bz2 |
Add close button to chat window alerts.
Test-Information:
Check that close button is functional.
Change-Id: I45078cb50e410365704e6a8b2444e1a4b15db068
Diffstat (limited to 'Swift/QtUI/QtChatWindow.h')
-rw-r--r-- | Swift/QtUI/QtChatWindow.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Swift/QtUI/QtChatWindow.h b/Swift/QtUI/QtChatWindow.h index 45eaa6f..bf37557 100644 --- a/Swift/QtUI/QtChatWindow.h +++ b/Swift/QtUI/QtChatWindow.h @@ -135,5 +135,5 @@ namespace Swift { void handleChangeSplitterState(QByteArray state); void handleFontResized(int fontSizeSteps); - AlertID addAlert(const std::string& alertText, const std::string& buttonText = ""); + AlertID addAlert(const std::string& alertText); void removeAlert(const AlertID id); void setCorrectionEnabled(Tristate enabled); @@ -198,5 +198,4 @@ namespace Swift { std::map<AlertID, QWidget*> alertWidgets_; AlertID nextAlertId_; - QPushButton* alertButton_; TabComplete* completer_; QLineEdit* subject_; |