fix bug
This commit is contained in:
parent
198d6e87bb
commit
5ffb460097
1 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ class Main(Quick):
|
||||||
super(Main, self).__init__()
|
super(Main, self).__init__()
|
||||||
|
|
||||||
# Load Main QML file
|
# Load Main QML file
|
||||||
self.load(":ParchLinux.qml")
|
self.load(":/ParchLinux.qml")
|
||||||
|
|
||||||
self.b1 = self.findChild("b1") # Find Button 1
|
self.b1 = self.findChild("b1") # Find Button 1
|
||||||
self.b1.clicked.connect(self.b1_) # Action: Connect Button 1 action to b1_
|
self.b1.clicked.connect(self.b1_) # Action: Connect Button 1 action to b1_
|
||||||
|
@ -119,7 +119,7 @@ if __name__ == "__main__":
|
||||||
# Start Qt Qui Application loop
|
# Start Qt Qui Application loop
|
||||||
app = QGuiApplication([])
|
app = QGuiApplication([])
|
||||||
# Set Qt Window Icon
|
# Set Qt Window Icon
|
||||||
app.setWindowIcon(QIcon(":ParchLogo.svg"))
|
app.setWindowIcon(QIcon(":/ParchLogo.svg"))
|
||||||
# Loading Main Class
|
# Loading Main Class
|
||||||
m = Main()
|
m = Main()
|
||||||
# Set loop exec
|
# Set loop exec
|
||||||
|
|
Loading…
Add table
Reference in a new issue