summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
@@ -302,10 +302,11 @@ void QtUserSearchWindow::handleOnSearchedJIDSelected(const Contact::ref& contact
302 firstPage_->jid_->setText(P2QSTRING(contact->jid.toString())); 302 firstPage_->jid_->setText(P2QSTRING(contact->jid.toString()));
303} 303}
304 304
305void QtUserSearchWindow::show() { 305void QtUserSearchWindow::show() {
306 clear(); 306 clear();
307 setWarning(boost::optional<std::string>());
307 QWidget::show(); 308 QWidget::show();
308} 309}
309 310
310void QtUserSearchWindow::addSavedServices(const std::vector<JID>& services) { 311void QtUserSearchWindow::addSavedServices(const std::vector<JID>& services) {
311 if (type_ == AddContact) { 312 if (type_ == AddContact) {