Fix references to user profile directory.

pull/1/head
Darrell Anderson 12 years ago
parent 5f918c688a
commit 9b340c5fe7

@ -588,7 +588,7 @@ void KviApp::findGlobalKvircDirectory()
} }
} }
//Last resource , try $HOME and $HOME/.kde //Last resource , try $HOME and $HOME/.trinity
for(int k=0;usualKvircGlobalDir[k] != 0;k++){ for(int k=0;usualKvircGlobalDir[k] != 0;k++){
m_szGlobalKvircDir = TQDir::homeDirPath(); m_szGlobalKvircDir = TQDir::homeDirPath();
m_szGlobalKvircDir+= usualKvircGlobalDir[k]; m_szGlobalKvircDir+= usualKvircGlobalDir[k];
@ -599,7 +599,7 @@ void KviApp::findGlobalKvircDirectory()
#ifdef COMPILE_TDE_SUPPORT #ifdef COMPILE_TDE_SUPPORT
for(int k=0;usualKvircGlobalDir[k] != 0;k++){ for(int k=0;usualKvircGlobalDir[k] != 0;k++){
m_szGlobalKvircDir = TQDir::homeDirPath(); m_szGlobalKvircDir = TQDir::homeDirPath();
m_szGlobalKvircDir+= "/.kde"; m_szGlobalKvircDir+= "/.trinity";
m_szGlobalKvircDir+= usualKvircGlobalDir[k]; m_szGlobalKvircDir+= usualKvircGlobalDir[k];
m_szGlobalKvircDir+= KVI_VERSION_BRANCH; m_szGlobalKvircDir+= KVI_VERSION_BRANCH;
if(checkGlobalKvircDirectory(m_szGlobalKvircDir))return; if(checkGlobalKvircDirectory(m_szGlobalKvircDir))return;

Loading…
Cancel
Save