diff options
Diffstat (limited to 'x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp')
-rw-r--r-- | x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp b/x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp deleted file mode 100644 index c5e0852485bb..000000000000 --- a/x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp +++ /dev/null @@ -1,25 +0,0 @@ ---- src/tools/qsettings.cpp.orig 2007-02-02 09:01:03.000000000 -0500 -+++ src/tools/qsettings.cpp 2011-08-12 03:41:18.000000000 -0400 -@@ -34,6 +34,9 @@ - ** not clear to you. - ** - **********************************************************************/ -+#ifndef Q_WS_WIN -+#include <stdlib.h> -+#endif - - #include "qplatformdefs.h" - -@@ -500,7 +503,12 @@ - } ); - #endif // Q_OS_TEMP - #else -+ if (getenv( "TMPDIR" ) != 0) { -+ defPath = QString( getenv( "TMPDIR" ) ); -+ } -+ else { - defPath = qInstallPathSysconf(); -+ } - #endif - QDir dir(appSettings); - if (! dir.exists()) { |