summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-09-10 09:50:19 (GMT)
committerKevin Smith <kevin.smith@isode.com>2015-09-22 14:31:01 (GMT)
commit9b48a737db5237ecdec062a64b65e6a90c1f9cde (patch)
treed1f3b238fde8c768406f17e14565e8a6a3421081
parenteed183fbd5d121049d5965d7c60abd65f44d0376 (diff)
downloadswift-9b48a737db5237ecdec062a64b65e6a90c1f9cde.zip
swift-9b48a737db5237ecdec062a64b65e6a90c1f9cde.tar.bz2
Reset potential warning when opening 'Add Contact' dialog
Test-Information: Tested by entering an existing JID, closing the dialog window and reopening it. Change-Id: I6c24ba319a062d19f2144c70fcc94fe77d36befe
-rw-r--r--Swift/QtUI/UserSearch/QtUserSearchWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
index 737196a..013b869 100644
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
@@ -304,6 +304,7 @@ void QtUserSearchWindow::handleOnSearchedJIDSelected(const Contact::ref& contact
void QtUserSearchWindow::show() {
clear();
+ setWarning(boost::optional<std::string>());
QWidget::show();
}