forked from openlp/openlp
clean up
This commit is contained in:
parent
b9b0cbbe9c
commit
e20fd7d85d
@ -39,7 +39,6 @@ from openlp.core.ui import AboutForm, SettingsForm, ServiceManager, \
|
|||||||
ShortcutListForm, DisplayTagForm
|
ShortcutListForm, DisplayTagForm
|
||||||
from openlp.core.utils import AppLocation, add_actions, LanguageManager, \
|
from openlp.core.utils import AppLocation, add_actions, LanguageManager, \
|
||||||
get_application_version
|
get_application_version
|
||||||
#from openlp.core.utils.actions import actionList
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
@ -216,7 +215,6 @@ class Ui_MainWindow(object):
|
|||||||
# i18n Language Items
|
# i18n Language Items
|
||||||
self.AutoLanguageItem = checkable_action(mainWindow,
|
self.AutoLanguageItem = checkable_action(mainWindow,
|
||||||
u'AutoLanguageItem', LanguageManager.auto_language)
|
u'AutoLanguageItem', LanguageManager.auto_language)
|
||||||
#actionList.add_action(self.AutoLanguageItem, u'Settings')
|
|
||||||
self.LanguageGroup = QtGui.QActionGroup(mainWindow)
|
self.LanguageGroup = QtGui.QActionGroup(mainWindow)
|
||||||
self.LanguageGroup.setExclusive(True)
|
self.LanguageGroup.setExclusive(True)
|
||||||
self.LanguageGroup.setObjectName(u'LanguageGroup')
|
self.LanguageGroup.setObjectName(u'LanguageGroup')
|
||||||
|
@ -41,8 +41,10 @@ class ShortcutListForm(QtGui.QDialog, Ui_ShortcutListDialog):
|
|||||||
"""
|
"""
|
||||||
The shortcut list dialog
|
The shortcut list dialog
|
||||||
"""
|
"""
|
||||||
#TODO: do not close on ESC, ability to remove actions, save/load shortcuts, docs
|
#TODO: do not close on ESC, ability to remove actions (e. g. reindex tool)
|
||||||
#TODO: Fix Preview/Live controller (have the same shortcut)
|
#TODO: save/load shortcuts, docs
|
||||||
|
#TODO: Fix Preview/Live controller (have the same shortcut), make sure
|
||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
QtGui.QDialog.__init__(self, parent)
|
QtGui.QDialog.__init__(self, parent)
|
||||||
self.setupUi(self)
|
self.setupUi(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user