forked from openlp/openlp
renamed constant
This commit is contained in:
parent
a70ef917fc
commit
ceeaa0c359
@ -57,7 +57,7 @@ __all__ = [u'OpenLP', u'main']
|
|||||||
|
|
||||||
|
|
||||||
log = logging.getLogger()
|
log = logging.getLogger()
|
||||||
nt_repair_stylesheet = u"""
|
NT_REPARI_STYLESHEET = u"""
|
||||||
QMainWindow::separator
|
QMainWindow::separator
|
||||||
{
|
{
|
||||||
border: none;
|
border: none;
|
||||||
@ -125,7 +125,7 @@ class OpenLP(QtGui.QApplication):
|
|||||||
u'QTableWidget, QListWidget, QTreeWidget {alternate-background-color: ' + base_color.name() + ';}\n'
|
u'QTableWidget, QListWidget, QTreeWidget {alternate-background-color: ' + base_color.name() + ';}\n'
|
||||||
application_stylesheet += alternate_rows_repair_stylesheet
|
application_stylesheet += alternate_rows_repair_stylesheet
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
application_stylesheet += nt_repair_stylesheet
|
application_stylesheet += NT_REPARI_STYLESHEET
|
||||||
if application_stylesheet:
|
if application_stylesheet:
|
||||||
self.setStyleSheet(application_stylesheet)
|
self.setStyleSheet(application_stylesheet)
|
||||||
show_splash = Settings().value(u'general/show splash')
|
show_splash = Settings().value(u'general/show splash')
|
||||||
|
Loading…
Reference in New Issue
Block a user