fix OS theme following
This commit is contained in:
parent
d3101bc9f6
commit
7a9322aa75
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
|
@ -1,6 +1,6 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from PyQt6.QtWidgets import QApplication
|
from PyQt6.QtWidgets import QApplication, QStyleFactory
|
||||||
|
|
||||||
from setuptools_scm import get_version
|
from setuptools_scm import get_version
|
||||||
from setuptools_scm.version import get_local_node_and_date
|
from setuptools_scm.version import get_local_node_and_date
|
||||||
|
|
@ -29,6 +29,7 @@ app_version = get_app_version()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
|
app.setStyle(QStyleFactory.create("Fusion"))
|
||||||
|
|
||||||
view = View()
|
view = View()
|
||||||
model = Model()
|
model = Model()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue