Fix references to user profile directory.

pull/1/head
Darrell Anderson 12 years ago
parent 960121b347
commit 4465ba29ed

@ -51,7 +51,7 @@ format:
....rest of qtcurve settings... ....rest of qtcurve settings...
To use this theme, either copy qtc_<name>.themerc to To use this theme, either copy qtc_<name>.themerc to
$TDEHOME/share/apps/kstyle/themes/ (usually ~/.kde/share/apps/kstyle/themes/) $TDEHOME/share/apps/kstyle/themes/ (usually ~/.trinity/share/apps/kstyle/themes/)
or copy to <kde install prefix>/share/apps/kstyle/themes/ (usually or copy to <kde install prefix>/share/apps/kstyle/themes/ (usually
/usr/share/apps/kstyle/themes/) /usr/share/apps/kstyle/themes/)

@ -287,7 +287,7 @@ static TQString kdeHome(bool trinity=false)
if (kdeHome[trinity ? 0 : 1].isEmpty()) if (kdeHome[trinity ? 0 : 1].isEmpty())
{ {
TQDir homeDir(TQDir::homeDirPath()); TQDir homeDir(TQDir::homeDirPath());
TQString kdeConfDir("/.kde"); TQString kdeConfDir("/.trinity");
if (!trinity && homeDir.exists(".kde4")) if (!trinity && homeDir.exists(".kde4"))
kdeConfDir = TQString("/.kde4"); kdeConfDir = TQString("/.kde4");
kdeHome[trinity ? 0 : 1] = TQDir::homeDirPath() + kdeConfDir; kdeHome[trinity ? 0 : 1] = TQDir::homeDirPath() + kdeConfDir;

Loading…
Cancel
Save