Commit 556d493b authored by Lukas Appelhans's avatar Lukas Appelhans

use /etc/akabei.conf as config file

parent d39af9f4
......@@ -28,7 +28,7 @@ const QString DATABASEDIR = "/var/lib/akabei";
*/
QString readCacheDirFromConfig()
{
QSettings settings;
QSettings settings("/etc/akabei.conf", QSettings::NativeFormat);
if (!QFile::exists(settings.fileName())) {
QTextStream err(stderr);
......@@ -46,7 +46,7 @@ QString readCacheDirFromConfig()
QString readDatabaseDirFromConfig()
{
QSettings settings;
QSettings settings("/etc/akabei.conf", QSettings::NativeFormat);
if (!QFile::exists(settings.fileName())) {
QTextStream err(stderr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment