summaryrefslogtreecommitdiffstats
path: root/src/client/util/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/util.cpp')
-rw-r--r--src/client/util/util.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/client/util/util.cpp b/src/client/util/util.cpp
new file mode 100644
index 0000000..9dcbebb
--- /dev/null
+++ b/src/client/util/util.cpp
@@ -0,0 +1,25 @@
+/*
+ * Util.cpp
+ *
+ * Created on: 18.01.2013
+ * Author: sr
+ */
+
+#include "util.h"
+#include <QSettings>
+
+namespace Util
+{
+//#
+//#
+QDir settingsDir()
+{
+ USER_SETTINGS(settings);
+ QFileInfo fi(settings.fileName());
+ QDir path(fi.path());
+ return path;
+}
+//#
+//#
+}
+