forked from openlp/openlp
remove else from toolbar.py
This commit is contained in:
parent
4661756d68
commit
66ec680e4e
|
@ -120,11 +120,8 @@ class OpenLPToolbar(QtGui.QToolBar):
|
||||||
try:
|
try:
|
||||||
if self.icons[title]:
|
if self.icons[title]:
|
||||||
return self.icons[title]
|
return self.icons[title]
|
||||||
else:
|
|
||||||
log.error(u'getIconFromTitle - no icon for %s' % title)
|
|
||||||
return QtGui.QIcon()
|
|
||||||
except:
|
except:
|
||||||
log.exception(u'getIconFromTitle - title %s not found' % title)
|
log.exception(u'getIconFromTitle - no icon for %s' % title)
|
||||||
return QtGui.QIcon()
|
return QtGui.QIcon()
|
||||||
|
|
||||||
def makeWidgetsInvisible(self, widgets):
|
def makeWidgetsInvisible(self, widgets):
|
||||||
|
|
Loading…
Reference in New Issue