mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Properly add and set the window icon
This commit is contained in:
parent
5f2d76aca9
commit
22fecc4cd0
2 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,7 @@ from . import PrintInformation
|
|||
from . import CuraActions
|
||||
|
||||
from PyQt5.QtCore import pyqtSlot, QUrl, Qt, pyqtSignal, pyqtProperty
|
||||
from PyQt5.QtGui import QColor
|
||||
from PyQt5.QtGui import QColor, QIcon
|
||||
|
||||
import platform
|
||||
import sys
|
||||
|
@ -52,6 +52,8 @@ class CuraApplication(QtApplication):
|
|||
|
||||
super().__init__(name = "cura", version = "15.05.95")
|
||||
|
||||
self.setWindowIcon(QIcon(Resources.getPath(Resources.ImagesLocation, "cura-icon.png")))
|
||||
|
||||
self.setRequiredPlugins([
|
||||
"CuraEngineBackend",
|
||||
"MeshView",
|
||||
|
|
BIN
resources/images/cura-icon.png
Normal file
BIN
resources/images/cura-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Loading…
Add table
Add a link
Reference in a new issue