summaryrefslogtreecommitdiffstats
path: root/src/tools/qsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qsettings.cpp')
-rw-r--r--src/tools/qsettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qsettings.cpp b/src/tools/qsettings.cpp
index 9c70bf02d..929f7960b 100644
--- a/src/tools/qsettings.cpp
+++ b/src/tools/qsettings.cpp
@@ -470,7 +470,7 @@ TQSettingsPrivate::TQSettingsPrivate( TQSettings::Format format )
#endif
TQString home;
- home = getenv("TQT_HOME_DIR");
+ home = getenv("QT_HOME_DIR");
if ( !home.isEmpty() ) {
home += "/";
TQFileInfo i( home + "qtrc" );
@@ -532,7 +532,7 @@ TQSettingsPrivate::TQSettingsPrivate( TQSettings::Format format )
searchPaths.append(defPath);
TQString system;
- system = getenv("TQT_SYSTEM_DIR");
+ system = getenv("QT_SYSTEM_DIR");
if ( !system.isEmpty() && system[0] == '/') {
TQFileInfo i( system + "/qtrc" );
if ( i.isReadable() ) {