Symbian fixes.
authorAkos Polster <akos@pipacs.com>
Sat, 25 Sep 2010 21:11:38 +0000 (23:11 +0200)
committerAkos Polster <akos@pipacs.com>
Sat, 25 Sep 2010 21:11:38 +0000 (23:11 +0200)
dorian.pro
model/book.h
model/bookfinder.h
trace.cpp

index c16e63d..538cdcc 100644 (file)
@@ -113,7 +113,8 @@ symbian {
     TARGET.UID3 = 0xEA633557\r
     # TARGET.CAPABILITY = ...\r
     # FIXME: Add OpenC ZLIB?\r
-    INCLUDEPATH += C:\NokiaQtSDK\Symbian\SDK\src\3rdparty\zlib\r
+    INCLUDEPATH += C:/NokiaQtSDK/Symbian/SDK/src/3rdparty/zlib \\r
+        c:/Qt/4.7.0/src/3rdparty/zlib\r
 }\r
 maemo5 {\r
     QT += maemo5 dbus\r
index dbc0b71..5305220 100644 (file)
@@ -28,7 +28,7 @@ public:
     struct Bookmark
     {
         Bookmark(int part_, qreal pos_): part(part_), pos(pos_) {}
-        Bookmark() {part = pos = 0;}
+        Bookmark(): part(0), pos(0.0) {}
         int part;
         qreal pos;
         bool operator<(const Bookmark&other) const {
@@ -51,7 +51,7 @@ public:
     /** Extract and parse EPUB contents, fill in all members except mPath. */
     bool open();
 
-    /** Extract and parse EPUB metadata only, fill in all members except mPath. */
+    /** Extract and parse metadata only, fill in all members except mPath. */
     void peek();
 
     /** Clear toc and content members, remove extracted content files. */
index 86ff898..e4023b4 100644 (file)
@@ -7,6 +7,7 @@
 class QStringList;
 class QString;
 
+/** Find new books in a folder. */
 class BookFinder: public QObject
 {
     Q_OBJECT
index f762b19..d6d4992 100644 (file)
--- a/trace.cpp
+++ b/trace.cpp
@@ -204,7 +204,6 @@ Trace::EventName Trace::eventTab[] = {
     {QEvent::UngrabMouse, "QEvent::UngrabMouse"},
     {QEvent::GrabKeyboard, "QEvent::GrabKeyboard"},
     {QEvent::UngrabKeyboard, "QEvent::UngrabKeyboard"},
-    {QEvent::CocoaRequestModal, "QEvent::CocoaRequestModal"},
     {QEvent::MacGLClearDrawable, "QEvent::MacGLClearDrawable"},
 
     {QEvent::StateMachineSignal, "QEvent::StateMachineSignal"},