Commit bb5a7e25 authored by Marko Mattila's avatar Marko Mattila

[nemo-transferengine] Transfer Engine reads config file from a new location now.

parent 06f20cdf
......@@ -33,8 +33,6 @@
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
QCoreApplication::setOrganizationName("nemomobile");
QCoreApplication::setApplicationName("nemo-transfer-engine");
QString translationPath("/usr/share/translations/");
QTranslator engineeringEnglish;
......
......@@ -46,6 +46,7 @@
#include <signal.h>
#define SHARE_PLUGINS_PATH "/usr/lib/nemo-transferengine/plugins"
#define CONFIG_PATH "/usr/share/nemo-transferengine/nemo-transfer-engine.conf"
#define FILE_WATCHER_TIMEOUT 5000
......@@ -74,6 +75,7 @@ TransferEngineSignalHandler::TransferEngineSignalHandler()
TransferEnginePrivate::TransferEnginePrivate(TransferEngine *parent):
m_notificationsEnabled(true),
m_settings(CONFIG_PATH, QSettings::IniFormat),
q_ptr(parent)
{
m_fileWatcherTimer = new QTimer(this);
......
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