Restored the gear SVG decoration for some dialogs until they're redesigned

This commit is contained in:
Veronica K. B. Olsen
2020-05-14 21:26:56 +02:00
parent 83e0a365ae
commit cff1529e71
3 changed files with 8 additions and 13 deletions
+3 -7
View File
@@ -54,15 +54,11 @@ class GuiItemEditor(QDialog):
self.innerBox = QVBoxLayout()
self.setWindowTitle("Item Settings")
self.guiDeco = QLabel()
self.guiDeco.setPixmap(
self.theParent.theTheme.getPixmap(
nwLabels.CLASS_ICON[self.theItem.itemClass], (64,64)
)
)
self.guiDeco = self.theParent.theTheme.loadDecoration("settings", (64,64))
self.outerBox.setSpacing(16)
self.outerBox.addWidget(self.guiDeco, 0, Qt.AlignTop)
self.outerBox.addLayout(self.innerBox)
self.outerBox.setSpacing(16)
self.setLayout(self.outerBox)
self.mainGroup = QGroupBox("Item Settings")