mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 23:13:37 +02:00
...
This commit is contained in:
parent
2421195416
commit
3995b9386d
1 changed files with 0 additions and 15 deletions
|
|
@ -11,7 +11,6 @@
|
|||
from calibre.gui2.preferences import ConfigWidgetBase, test_widget, CommaSeparatedList
|
||||
from calibre.gui2.preferences.look_feel_ui import Ui_Form
|
||||
from calibre.gui2 import config, gprefs, qt_app
|
||||
from calibre.constants import iswindows
|
||||
from calibre.utils.localization import (available_translations,
|
||||
get_language, get_lang)
|
||||
from calibre.utils.config import prefs
|
||||
|
|
@ -159,20 +158,6 @@ def genesis(self, gui):
|
|||
self.field_display_order.setModel(self.display_model)
|
||||
self.df_up_button.clicked.connect(self.move_df_up)
|
||||
self.df_down_button.clicked.connect(self.move_df_down)
|
||||
if iswindows:
|
||||
self.toolBox.setStyleSheet(
|
||||
'''
|
||||
QToolBox::tab {
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 2px solid black;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
QToolBox::tab:selected { /* italicize selected tabs */
|
||||
font-style: italic;
|
||||
}
|
||||
''')
|
||||
|
||||
def initialize(self):
|
||||
ConfigWidgetBase.initialize(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue