From: Matthieu Gallien Date: Thu, 21 Nov 2024 09:37:50 +0000 (+0100) Subject: remove this call that is probably useless and crashing tests X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~19^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e4cd55130a46680dff5cd1d51a91830df596628b;p=nextcloud-desktop.git remove this call that is probably useless and crashing tests we initialize all colors in the palette, so this init methos is most probably not doing anything useful crashes when doing in automated tests Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp index 3c65e31bb..cb672c717 100644 --- a/src/libsync/theme.cpp +++ b/src/libsync/theme.cpp @@ -367,8 +367,6 @@ Theme::Theme() #if defined(Q_OS_WIN) // Windows does not provide a dark theme for Win32 apps so let's come up with a palette // Credit to https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle - reserveDarkPalette = qApp->palette(); - reserveDarkPalette.setColor(QPalette::WindowText, Qt::white); reserveDarkPalette.setColor(QPalette::Button, QColor(127, 127, 127)); reserveDarkPalette.setColor(QPalette::Light, QColor(20, 20, 20));