diff options
author | Tobias Markmann <tm@ayena.de> | 2012-04-23 10:58:51 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-04-23 12:27:54 (GMT) |
commit | ae77eccb397460676b4df8297beaebcc1394faec (patch) | |
tree | d7cef13176863f4dbee56d5e07e4df5438903ddf /Swift/QtUI/UserSearch/QtUserSearchResultsPage.ui | |
parent | 39d46fb62ef01c3394ec0b453229f8d703f75153 (diff) | |
download | swift-contrib-ae77eccb397460676b4df8297beaebcc1394faec.zip swift-contrib-ae77eccb397460676b4df8297beaebcc1394faec.tar.bz2 |
Explicitly show "No results." if a user search yields to no results on the results page.
Resolves: #811
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swift/QtUI/UserSearch/QtUserSearchResultsPage.ui')
-rw-r--r-- | Swift/QtUI/UserSearch/QtUserSearchResultsPage.ui | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Swift/QtUI/UserSearch/QtUserSearchResultsPage.ui b/Swift/QtUI/UserSearch/QtUserSearchResultsPage.ui index ceb15e1..cf99e3f 100644 --- a/Swift/QtUI/UserSearch/QtUserSearchResultsPage.ui +++ b/Swift/QtUI/UserSearch/QtUserSearchResultsPage.ui @@ -14,13 +14,20 @@ <string/> </property> <layout class="QGridLayout" name="layout"> - <item row="0" column="0"> + <item row="1" column="0"> <widget class="QTreeView" name="results_"> <property name="rootIsDecorated"> <bool>false</bool> </property> </widget> </item> + <item row="0" column="0"> + <widget class="QLabel" name="noResults_"> + <property name="text"> + <string>No results.</string> + </property> + </widget> + </item> </layout> </widget> <resources/> |