aboutsummaryrefslogtreecommitdiff
path: root/smartpensyncer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'smartpensyncer.cc')
-rw-r--r--smartpensyncer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/smartpensyncer.cc b/smartpensyncer.cc
index fe7a281..93331ef 100644
--- a/smartpensyncer.cc
+++ b/smartpensyncer.cc
@@ -4,6 +4,7 @@
#include <QtCore/QDebug>
#include <QtGui/QDesktopServices>
#include <quazip/quazipfile.h>
+#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();