From: U-NOE\polster Date: Thu, 2 Dec 2010 14:02:33 +0000 (+0100) Subject: Prefer mass memory on Symbian. X-Git-Url: http://git.maemo.org/git/?p=dorian;a=commitdiff_plain;h=b72c0798bfde194a8f87ecd15956bbe99b184db8 Prefer mass memory on Symbian. --- 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()