diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-06-28 12:14:36 +0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-28 06:29:20 -0700 |
commit | 22d56889bbed5616d40d4a1391750b94ec500b9e (patch) | |
tree | 2e4bbc5ab3fb338e970fc3c71af5f0dbf88409f8 /qt-ui/usermanual.ui | |
parent | c84b40664de756b103e3304fb015edc05049ae39 (diff) | |
download | subsurface-22d56889bbed5616d40d4a1391750b94ec500b9e.tar.gz |
Fallback to loading theme icons from resources
Since not all platforms support theme icons, we need to pack
them into resources and fallback to that resource theme.
There seems to be a bug in Qt
(https://bugreports.qt-project.org/browse/QTBUG-16697), thus
default theme name (hicolor) does not work. So we test for
'window-close' theme icon on startup and if not found, set theme
name to 'subsurface'
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/usermanual.ui')
-rw-r--r-- | qt-ui/usermanual.ui | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/usermanual.ui b/qt-ui/usermanual.ui index 506b5c2ca..e8f0095f5 100644 --- a/qt-ui/usermanual.ui +++ b/qt-ui/usermanual.ui @@ -74,7 +74,7 @@ <string/> </property> <property name="icon"> - <iconset theme="go-previous"> + <iconset theme="go-up"> <normaloff/> </iconset> </property> @@ -98,7 +98,7 @@ <string/> </property> <property name="icon"> - <iconset theme="go-next"> + <iconset theme="go-down"> <normaloff/> </iconset> </property> |