Skip to content

Commit

Permalink
qt_gui: use native default icon theme if suitable (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
xqms authored and dirk-thomas committed Mar 2, 2020
1 parent 677b72e commit 33e18ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qt_gui/src/qt_gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ def _add_reload_paths(self, reload_importer):
def _check_icon_theme_compliance(self):
from python_qt_binding.QtGui import QIcon
# TODO find a better way to verify Theme standard compliance
if QIcon.themeName() == '' or \
QIcon.fromTheme('document-save').isNull() or \
if QIcon.fromTheme('document-save').isNull() or \
QIcon.fromTheme('document-open').isNull() or \
QIcon.fromTheme('edit-cut').isNull() or \
QIcon.fromTheme('object-flip-horizontal').isNull():
Expand Down

0 comments on commit 33e18ab

Please sign in to comment.