aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ausweisapp2/0004-Fix-path-for-configuration-file.patch
blob: 0c135d6feef16c6a2fcbf9325911c2b0a90921da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date: Sat, 28 Dec 2019 15:18:55 +0100
Subject: Fix path for configuration file

---
 src/secure_storage/SecureStorage.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/secure_storage/SecureStorage.cpp b/src/secure_storage/SecureStorage.cpp
index 67a5823..ee4c4a7 100644
--- a/src/secure_storage/SecureStorage.cpp
+++ b/src/secure_storage/SecureStorage.cpp
@@ -95,7 +95,7 @@ SecureStorage& SecureStorage::getInstance()
 
 void SecureStorage::load()
 {
-	const auto& path = FileDestination::getPath(QStringLiteral("config.json"));
+	const auto& path = QStringLiteral("/usr/share/AusweisApp2/config.json");
 
 	if (!QFile::exists(path))
 	{