From b72c0798bfde194a8f87ecd15956bbe99b184db8 Mon Sep 17 00:00:00 2001 From: "U-NOE\\polster" Date: Thu, 2 Dec 2010 15:02:33 +0100 Subject: [PATCH 1/1] Prefer mass memory on Symbian. --- pkg/changelog | 1 + platform.cpp | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/pkg/changelog b/pkg/changelog index 4f1ae41..57ba638 100644 --- a/pkg/changelog +++ b/pkg/changelog @@ -2,6 +2,7 @@ dorian (0.4.2-1) unstable; urgency=low * Speed up paging through the book * Make progress indicator more subtle + * Prefer mass memory on Symbian for downloads -- Akos Polster Fri, 1 Dec 2010 02:00:00 +0100 diff --git a/platform.cpp b/platform.cpp index 4fc6dee..ee7f5d9 100644 --- a/platform.cpp +++ b/platform.cpp @@ -83,7 +83,14 @@ QString Platform::version() QString Platform::downloadDir() { +#ifdef Q_OS_SYMBIAN + if (QDir("E:/").exists()) { + return "E:/Books"; + } + return "C:/Books"; +#else return QDir::home().absoluteFilePath("Books"); +#endif } QString Platform::defaultFont() -- 1.7.9.5