diff options
author | Gerald Combs <gerald@zing.org> | 2015-03-08 10:41:13 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-03-08 18:12:06 +0000 |
commit | 54c301a0d61a31b0a0469d8d9346b51af37c0009 (patch) | |
tree | 90bec48b422f63a7b8fdc3bf8a19f6b17a49725a /ui | |
parent | 29f7c7af7d1d101ad0a68378c8255df5da6848a5 (diff) |
Add the @2x expert indicators.
We currently load the expert indicator resources using an <img> tag.
According to QTBUG-36383 the @2x versions won't load unless you've built
with Qt 5.4.0 or later.
Change-Id: I003fd5d5f10e779f2e7ca6ba9fbb8e033df85b80
Reviewed-on: https://code.wireshark.org/review/7601
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/main_status_bar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main_status_bar.cpp b/ui/qt/main_status_bar.cpp index b879d52366..8e242269f6 100644 --- a/ui/qt/main_status_bar.cpp +++ b/ui/qt/main_status_bar.cpp @@ -190,6 +190,8 @@ void MainStatusBar::hideExpert() { } void MainStatusBar::expertUpdate() { + // <img> won't load @2x versions in Qt versions earlier than 5.4. + // We might have to switch to a QPushButton. QString img_text = "<img src=\":/expert/expert_"; QString tt_text = tr(" is the highest expert info level"); |