aboutsummaryrefslogtreecommitdiff
path: root/smartpensyncer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'smartpensyncer.cc')
-rw-r--r--smartpensyncer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/smartpensyncer.cc b/smartpensyncer.cc
index 654b0eb..100b64b 100644
--- a/smartpensyncer.cc
+++ b/smartpensyncer.cc
@@ -2,9 +2,9 @@
#include <QtCore/QScopedArrayPointer>
#include <QtCore/QThread>
#include <QtCore/QDebug>
-#include <QtGui/QDesktopServices>
#include <quazip/quazipfile.h>
#include "paperreplay.h"
+#include "notebookmodel.h"
#include "smartpensyncer.h"
#define BUFFER_SIZE 16 * 1024
@@ -89,7 +89,7 @@ void SmartpenSyncer::run()
_penSerial = penInfo["penserial"].toString();
- _penDataDir.setPath(QDesktopServices::storageLocation(QDesktopServices::DataLocation) + "/" + _penName + ".pen");
+ _penDataDir.setPath(NotebookModel::userDataDirectory() + "/" + _penName + ".pen");
if (!_penDataDir.exists()) {
if (!_penDataDir.mkpath(".")) {
qWarning() << "Cannot create pen data directory:" << _penDataDir.absolutePath();