mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove use of library image alias
This commit is contained in:
parent
8a1de85fc3
commit
039aab161c
@ -14,7 +14,7 @@
|
||||
</property>
|
||||
<property name="windowIcon" >
|
||||
<iconset resource="../../../../resources/images.qrc" >
|
||||
<normaloff>:/library</normaloff>:/library</iconset>
|
||||
<normaloff>:/images/library.png</normaloff>:/images/library.png</iconset>
|
||||
</property>
|
||||
<layout class="QGridLayout" >
|
||||
<item row="0" column="0" >
|
||||
|
@ -146,7 +146,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
||||
self.device_connected = False
|
||||
self.viewers = collections.deque()
|
||||
self.content_server = None
|
||||
self.system_tray_icon = QSystemTrayIcon(QIcon(':/library'), self)
|
||||
self.system_tray_icon = QSystemTrayIcon(QIcon(':/images/library.png'), self)
|
||||
self.system_tray_icon.setToolTip('calibre')
|
||||
if not config['systray_icon']:
|
||||
self.system_tray_icon.hide()
|
||||
@ -1826,7 +1826,7 @@ def init_qt(args):
|
||||
QCoreApplication.setApplicationName(APP_UID)
|
||||
app = Application(args)
|
||||
actions = tuple(Main.create_application_menubar())
|
||||
app.setWindowIcon(QIcon(':/library'))
|
||||
app.setWindowIcon(QIcon(':/images/library.png'))
|
||||
return app, opts, args, actions
|
||||
|
||||
def run_gui(opts, args, actions, listener, app):
|
||||
|
@ -25,7 +25,7 @@
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="../../../resources/images.qrc">
|
||||
<normaloff>:/library</normaloff>:/library</iconset>
|
||||
<normaloff>:/images/library.png</normaloff>:/images/library.png</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
|
@ -159,7 +159,7 @@ class LocationModel(QAbstractListModel):
|
||||
|
||||
def __init__(self, parent):
|
||||
QAbstractListModel.__init__(self, parent)
|
||||
self.icons = [QVariant(QIcon(':/library')),
|
||||
self.icons = [QVariant(QIcon(':/images/library.png')),
|
||||
QVariant(QIcon(':/images/reader.svg')),
|
||||
QVariant(QIcon(':/images/sd.svg')),
|
||||
QVariant(QIcon(':/images/sd.svg'))]
|
||||
|
Loading…
x
Reference in New Issue
Block a user