diff options
author | Tim Schumacher | 2020-09-15 14:11:03 +0200 |
---|---|---|
committer | Tim Schumacher | 2020-09-15 14:11:03 +0200 |
commit | 4971307770c668012b3ee0d6392e219fec5ec755 (patch) | |
tree | eb592b44066004d67b48de293c77971137c1f4f1 /fix-qt-theme.patch | |
parent | 4e42dd969393d8588f32de9a07744485adbd04d1 (diff) | |
download | aur-4971307770c668012b3ee0d6392e219fec5ec755.tar.gz |
Remove the Qt theming patch
Diffstat (limited to 'fix-qt-theme.patch')
-rw-r--r-- | fix-qt-theme.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/fix-qt-theme.patch b/fix-qt-theme.patch deleted file mode 100644 index fe0510b3f85e..000000000000 --- a/fix-qt-theme.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 0817e3933cf8a4122cbba944ff5d32a8cdb78f9b Mon Sep 17 00:00:00 2001 -From: Mick Sayson <mick@sayson.com> -Date: Fri, 12 Jun 2020 19:52:50 -0700 -Subject: [PATCH] Fix default palette application on Qt 5.15.0 - ---- - src/app/Application.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/app/Application.cpp b/src/app/Application.cpp -index 7a54b89..143dc05 100644 ---- a/src/app/Application.cpp -+++ b/src/app/Application.cpp -@@ -27,6 +27,7 @@ - #include <QNetworkReply> - #include <QOperatingSystemVersion> - #include <QSettings> -+#include <QStyle> - #include <QSysInfo> - #include <QTimer> - #include <QTranslator> -@@ -187,6 +188,9 @@ Application::Application(int &argc, char **argv, bool haltOnParseError) - // Enable system proxy auto-detection. - QNetworkProxyFactory::setUseSystemConfiguration(true); - -+ // Set default pallete. Pre Qt 5.15.0 this should be the same as the default -+ QApplication::setPalette(QApplication::style()->standardPalette()); -+ - // Do platform-specific initialization. - #if defined(Q_OS_MAC) - // Register service on Mac. |