blob: 08065637863e98a97cb66b690c9eb4d6a7a58323 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- utility.cpp 2016-04-21 12:02:53.487397154 +0200
+++ utility2.cpp 2016-04-21 12:15:00.352270643 +0200
@@ -174,27 +174,27 @@
QString Utility::dataPath()
{
- QFileInfo dirInfo(appPath() + "/Arena Tracker");
- if(dirInfo.exists()) return dirInfo.absoluteFilePath();
- else return QDir::homePath() + "/Arena Tracker";
+ QFileInfo dirInfo(appPath() + "/.arena-tracker");
+ if(dirInfo.exists()) return dirInfo.absoluteFilePath();
+ else return QDir::homePath() + "/.arena-tracker";
}
QString Utility::gameslogPath()
{
- return dataPath() + "/Games Drafts Logs";
+ return dataPath() + "/logs";
}
QString Utility::hscardsPath()
{
- return dataPath() + "/Hearthstone Cards";
+ return dataPath() + "/cards";
}
QString Utility::extraPath()
{
- return dataPath() + "/Extra";
+ return "/usr/share/arena-tracker/extra";
}
|