summary refs log tree commit diff
path: root/src/popups/SuggestionsPopup.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-01-31 16:08:30 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-31 16:08:30 +0100
commit127fb9370b8e131ad460b27aaa72de178e929096 (patch)
tree5278c11f1b58dc9f2600f716d58301f116d05d29 /src/popups/SuggestionsPopup.cpp
parentOptimize includes a bit (diff)
downloadnheko-127fb9370b8e131ad460b27aaa72de178e929096.tar.xz
Remove metatypes from headers
Diffstat (limited to 'src/popups/SuggestionsPopup.cpp')
-rw-r--r--src/popups/SuggestionsPopup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/popups/SuggestionsPopup.cpp b/src/popups/SuggestionsPopup.cpp

index ba1f77b9..8f355b38 100644 --- a/src/popups/SuggestionsPopup.cpp +++ b/src/popups/SuggestionsPopup.cpp
@@ -60,9 +60,9 @@ SuggestionsPopup::addRooms(const std::vector<RoomSearchResult> &rooms) } void -SuggestionsPopup::addUsers(const QVector<SearchResult> &users) +SuggestionsPopup::addUsers(const std::vector<SearchResult> &users) { - if (users.isEmpty()) { + if (users.empty()) { hide(); return; }