Merge pull request #1516 from axu2/revert-windowsvista
Revert windowsvista theme since no dark mode
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -43,8 +43,8 @@ jobs:
|
|||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v7
|
uses: actions/setup-python@v7
|
||||||
with:
|
with:
|
||||||
python-version: 3.14
|
# new enough to not worry about emudhra
|
||||||
check-latest: true
|
python-version: 3.13.17
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1503,7 +1503,7 @@ class KCCGUI(QObject, KCC_ui.Ui_mainWindow):
|
|||||||
APP = kccapp
|
APP = kccapp
|
||||||
MW = kccwindow
|
MW = kccwindow
|
||||||
GUI = self
|
GUI = self
|
||||||
settings_key = 'kcc13'
|
settings_key = 'kcc10'
|
||||||
if Version(qVersion()) <= Version('6.4.3'):
|
if Version(qVersion()) <= Version('6.4.3'):
|
||||||
settings_key += '-legacy'
|
settings_key += '-legacy'
|
||||||
self.settings = QSettings('ciromattia', settings_key)
|
self.settings = QSettings('ciromattia', settings_key)
|
||||||
@@ -1557,7 +1557,6 @@ class KCCGUI(QObject, KCC_ui.Ui_mainWindow):
|
|||||||
self.p = Process(os.getpid())
|
self.p = Process(os.getpid())
|
||||||
self.p.nice(BELOW_NORMAL_PRIORITY_CLASS)
|
self.p.nice(BELOW_NORMAL_PRIORITY_CLASS)
|
||||||
self.p.ionice(1)
|
self.p.ionice(1)
|
||||||
APP.setStyle('windowsvista')
|
|
||||||
elif sys.platform.startswith('linux'):
|
elif sys.platform.startswith('linux'):
|
||||||
APP.setStyle('fusion')
|
APP.setStyle('fusion')
|
||||||
if self.windowSize == '0x0':
|
if self.windowSize == '0x0':
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
PySide6
|
PySide6; platform_system != 'Windows'
|
||||||
|
PySide6<6.10; platform_system == 'Windows'
|
||||||
Pillow>=11.3.0
|
Pillow>=11.3.0
|
||||||
psutil>=7.2.2
|
psutil>=7.2.2
|
||||||
requests>=2.34.2
|
requests>=2.34.2
|
||||||
|
|||||||
Reference in new issue
Block a user