Mercurial > hg > forks > UniversalIndentGUI
diff src/SettingsPaths.cpp @ 687:b4aee13bc733
- Added a new class, that is responsible for logging of any kind and added some logging/debug output calls.
- Updated all ui files to the Qt Designer version 4.5.x.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@956 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Wed, 27 May 2009 17:00:05 +0000 |
parents | 06450e6542ee |
children | 90002ae3ddc9 |
line wrap: on
line diff
--- a/src/SettingsPaths.cpp Wed May 20 13:52:12 2009 +0000 +++ b/src/SettingsPaths.cpp Wed May 27 17:00:05 2009 +0000 @@ -55,6 +55,10 @@ In not portable mode (multiuser mode) only users home directory is used for writing config data. */ void SettingsPaths::init() { + alreadyInitialized = true; + + qDebug() << __LINE__ << " " << __FUNCTION__ << ": Initializing application paths."; + // Get the applications binary path, with respect to MacOSXs use of the .app folder. applicationBinaryPath = QCoreApplication::applicationDirPath(); // Remove any trailing slashes @@ -146,7 +150,13 @@ #endif } - alreadyInitialized = true; + qDebug() << __LINE__ << " " << __FUNCTION__ << ": Paths are:" \ + "<ul><li>applicationBinaryPath=" << applicationBinaryPath \ + << "</li><li>settingsPath=" << settingsPath \ + << "</li><li>globalFilesPath=" << globalFilesPath \ + << "</li><li>indenterPath=" << indenterPath \ + << "</li><li>tempPath=" << tempPath \ + << "</li><li>Running in portable mode=" << portableMode << "</li></ul>"; }