From 886385d5060c08d8a3bbe624da951794fe8d8455 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 22 Mar 2024 16:28:31 +0100 Subject: 🛠️ Fixed bright tooltip font color if using Windows. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/gui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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") -- cgit v1.3.1