#include "platformsettings.h"
#include <QDir>
#include <QSettings>
+#ifdef HARMATTAN
#include <Quill>
#include "quillitem.h"
+#endif
#define PATH "/usr/share/cameraplus/config/cameraplus.ini"
}
void PlatformSettings::init() {
+#ifdef HARMATTAN
// How we create thumbnails for portrait is really messy.
// I am sure there is a better way to tell Quill to generate proper
// portrait thumbnails without having 2 display levels but I don't know how.
QString tempPath = temporaryFilePath();
QDir().mkpath(tempPath);
Quill::setTemporaryFilePath(tempPath);
+#endif
}
PlatformSettings::Service PlatformSettings::service(const QString& id) {