Commit 5f73911b authored by Florent Revest's avatar Florent Revest

lipstick: store notifications database inside ceres' home directory

parent 2dc6b09d
From ced56479a1ed6a70ed9678671cea86a30a971596 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Mon, 6 Jun 2016 17:13:57 +0200
Subject: [PATCH] Store notifications database inside cere's home directory
---
src/notifications/notificationmanager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/notifications/notificationmanager.cpp b/src/notifications/notificationmanager.cpp
index f9d3a33..67f5e91 100644
--- a/src/notifications/notificationmanager.cpp
+++ b/src/notifications/notificationmanager.cpp
@@ -605,7 +605,7 @@ void NotificationManager::restoreNotifications(bool update)
bool NotificationManager::connectToDatabase()
{
- QString databasePath = "/home/nemo" + QString(PRIVILEGED_DATA_PATH) + QDir::separator() + "Notifications";
+ QString databasePath = "/home/ceres" + QString(PRIVILEGED_DATA_PATH) + QDir::separator() + "Notifications";
if (!QDir::root().exists(databasePath)) {
QDir::root().mkpath(databasePath);
}
--
2.8.1
...@@ -4,7 +4,8 @@ LICENSE = "LGPL-2.1+" ...@@ -4,7 +4,8 @@ LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24" LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24"
SRC_URI = "git://git.merproject.org/mer-core/lipstick.git;protocol=https \ SRC_URI = "git://git.merproject.org/mer-core/lipstick.git;protocol=https \
file://0001-Disables-tests-tools-and-doc-and-fixes-build.patch" file://0001-Disables-tests-tools-and-doc-and-fixes-build.patch \
file://0002-Store-notifications-database-inside-cere-s-home-dire.patch"
SRCREV = "d393a948d2d7d179dbe5dedf3ae68543e655507a" SRCREV = "d393a948d2d7d179dbe5dedf3ae68543e655507a"
PR = "r1" PR = "r1"
PV = "+git${SRCREV}" PV = "+git${SRCREV}"
......
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