From 2910de560ead3ff65db26292fc27e427a5cf9b5e Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 14 Jun 2015 05:18:53 +0200 Subject: add export feature and desktop file --- smartpensyncer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'smartpensyncer.cc') diff --git a/smartpensyncer.cc b/smartpensyncer.cc index fe7a281..93331ef 100644 --- a/smartpensyncer.cc +++ b/smartpensyncer.cc @@ -4,6 +4,7 @@ #include #include #include +#include "paperreplay.h" #include "smartpensyncer.h" #define BUFFER_SIZE 16 * 1024 @@ -152,7 +153,7 @@ bool SmartpenSyncer::syncNotebook(const Smartpen::ChangeReport &change) bool SmartpenSyncer::syncPaperReplay() { - QDir replayDir(_penDataDir.filePath("PaperReplay")); + QDir replayDir(_penDataDir.filePath(PAPER_REPLAY)); if (!replayDir.exists()) { if (!replayDir.mkpath(".")) { qWarning() << "Cannot create PaperReplay data directory:" << replayDir.absolutePath(); -- cgit v1.2.3