summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-03-22 16:28:31 +0100
committerRobert Honz <exislow+github@gmail.com>2024-03-22 16:28:31 +0100
commit886385d5060c08d8a3bbe624da951794fe8d8455 (patch)
tree453f8090705a4ff1fc844867586c6b6cc65f52f5
parent08a876feaf3ce3ab11b6233a33638829e1c10e31 (diff)
downloadtidal-dl-ng-886385d5060c08d8a3bbe624da951794fe8d8455.tar.gz
🛠️ Fixed bright tooltip font color if using Windows.
-rw-r--r--tidal_dl_ng/gui.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tidal_dl_ng/gui.py b/tidal_dl_ng/gui.py
index a2c04fb..9ca72e1 100644
--- a/tidal_dl_ng/gui.py
+++ b/tidal_dl_ng/gui.py
@@ -615,7 +615,10 @@ def gui_activate(tidal: Tidal | None = None):
# Set dark theme and create QT app.
qdarktheme.enable_hi_dpi()
app = QtWidgets.QApplication(sys.argv)
- qdarktheme.setup_theme()
+ # Fix for Windows: Tooltips have bright font color
+ # https://github.com/5yutan5/PyQtDarkTheme/issues/239
+ # qdarktheme.setup_theme()
+ qdarktheme.setup_theme(additional_qss="QToolTip { border: 0px; }")
# Create icon object and apply it to app window.
pixmap: QtGui.QPixmap = QtGui.QPixmap("tidal_dl_ng/ui/icon.png")