diff options
Diffstat (limited to 'app-office/texmaker/files/texmaker-4.5-modern-styles.patch')
-rw-r--r-- | app-office/texmaker/files/texmaker-4.5-modern-styles.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app-office/texmaker/files/texmaker-4.5-modern-styles.patch b/app-office/texmaker/files/texmaker-4.5-modern-styles.patch deleted file mode 100644 index 73c3b92f761b..000000000000 --- a/app-office/texmaker/files/texmaker-4.5-modern-styles.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/texmaker.cpp 2014-11-26 09:06:56.000000000 -0300 -+++ b/texmaker.cpp 2015-06-19 20:49:58.801377000 -0300 -@@ -4451,7 +4451,12 @@ - #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) - if (modern_style) - { --qApp->setStyle(new ManhattanStyle(QLatin1String("fusion"))); -+ if(desktop_env == 1){ -+ if (styles.contains("GTK+")) qApp->setStyle(new ManhattanStyle(QLatin1String("gtkstyle"))); -+ else if (styles.contains("Windows")) qApp->setStyle(new ManhattanStyle(QLatin1String("windows"))); -+ else qApp->setStyle(new ManhattanStyle(QLatin1String("fusion"))); -+ } -+ else qApp->setStyle(new ManhattanStyle(QLatin1String("fusion"))); - } - // else - // { |