diff options
author | Javier <dev.git@javispedro.com> | 2015-06-14 05:18:53 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-06-14 05:18:53 +0200 |
commit | 2910de560ead3ff65db26292fc27e427a5cf9b5e (patch) | |
tree | 12f6c29b77244528176abeee0934bdc4c560f08d /smartpensyncer.cc | |
parent | 46cb4b079be113996214660020d6ef0c3d1f1e80 (diff) | |
download | scribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.tar.gz scribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.zip |
add export feature and desktop file
Diffstat (limited to 'smartpensyncer.cc')
-rw-r--r-- | smartpensyncer.cc | 3 |
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(); |