mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 17:59:43 +02:00
fix: if statement to disable windows transparency
This commit is contained in:
@@ -24,8 +24,7 @@ args = parser.parse_args()
|
||||
def run_gui():
|
||||
app = QtWidgets.QApplication([])
|
||||
widget = MainWindow()
|
||||
if state.window_transparency is True:
|
||||
if platform.system() != "Windows":
|
||||
if state.window_transparency and platform.system() != "Windows":
|
||||
qdarktheme.setup_theme("auto", custom_colors={"background": "#00000000"})
|
||||
widget.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user