Application icon and .desktop file
Rearrange modules because of single-version-externally-managed
This commit is contained in:
@@ -43,7 +43,7 @@ from lector.settingsdialog import SettingsUI
|
||||
from lector.metadatadialog import MetadataUI
|
||||
from lector.definitionsdialog import DefinitionsUI
|
||||
|
||||
from resources import mainwindow, resources
|
||||
from lector.resources import mainwindow, resources
|
||||
|
||||
|
||||
class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
|
||||
@@ -51,6 +51,10 @@ class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
|
||||
super(MainUI, self).__init__()
|
||||
self.setupUi(self)
|
||||
|
||||
# Set window icon
|
||||
self.setWindowIcon(
|
||||
QtGui.QIcon(':/images/Lector.png'))
|
||||
|
||||
# Central Widget - Make borders disappear
|
||||
self.centralWidget().layout().setContentsMargins(0, 0, 0, 0)
|
||||
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
|
||||
|
Reference in New Issue
Block a user