From e6c66cf9e373e13c3f586408e697953a02187ddd Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 22 Mar 2024 16:28:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20Fixed=20bright=20toolti?= =?UTF-8?q?p=20font=20color=20if=20using=20Windows.=20Fixed=20#61?= 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")