diff options
Diffstat (limited to 'x11-misc/qt5ct/files/qt5ct-0.29-fix-kde-styles.patch')
-rw-r--r-- | x11-misc/qt5ct/files/qt5ct-0.29-fix-kde-styles.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/x11-misc/qt5ct/files/qt5ct-0.29-fix-kde-styles.patch b/x11-misc/qt5ct/files/qt5ct-0.29-fix-kde-styles.patch deleted file mode 100644 index d15609d24c75..000000000000 --- a/x11-misc/qt5ct/files/qt5ct-0.29-fix-kde-styles.patch +++ /dev/null @@ -1,20 +0,0 @@ -Correctly apply selected theme to KDE apps. - -https://sourceforge.net/p/qt5ct/tickets/32/ - -Index: src/qt5ct-qtplugin/qt5ctplatformtheme.cpp -=================================================================== ---- a/src/qt5ct-qtplugin/qt5ctplatformtheme.cpp (revision 368) -+++ b/src/qt5ct-qtplugin/qt5ctplatformtheme.cpp (revision 369) -@@ -101,9 +101,8 @@ - - const QPalette *Qt5CTPlatformTheme::palette(QPlatformTheme::Palette type) const - { -- if(m_customPalette && m_usePalette) -- return m_customPalette; -- return QPlatformTheme::palette(type); -+ Q_UNUSED(type); -+ return (m_usePalette ? m_customPalette : 0); - } - - const QFont *Qt5CTPlatformTheme::font(QPlatformTheme::Font type) const |