mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 01:49:42 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 006da55aa0 | |||
| 214a389ad3 |
@@ -206,8 +206,7 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
|
|||||||
status = magnetdl.status()
|
status = magnetdl.status()
|
||||||
|
|
||||||
if col == 0:
|
if col == 0:
|
||||||
is_paused = magnetdl.status().paused
|
pass
|
||||||
return "▶︎" if is_paused else "⏸︎"
|
|
||||||
elif col == 1:
|
elif col == 1:
|
||||||
return status.name if status.has_metadata else "Fetching metadata..."
|
return status.name if status.has_metadata else "Fetching metadata..."
|
||||||
elif col == 2:
|
elif col == 2:
|
||||||
|
|||||||
@@ -24,8 +24,7 @@ args = parser.parse_args()
|
|||||||
def run_gui():
|
def run_gui():
|
||||||
app = QtWidgets.QApplication([])
|
app = QtWidgets.QApplication([])
|
||||||
widget = MainWindow()
|
widget = MainWindow()
|
||||||
if state.window_transparency is True:
|
if state.window_transparency and platform.system() != "Windows":
|
||||||
if platform.system() != "Windows":
|
|
||||||
qdarktheme.setup_theme("auto", custom_colors={"background": "#00000000"})
|
qdarktheme.setup_theme("auto", custom_colors={"background": "#00000000"})
|
||||||
widget.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground)
|
widget.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user