Show Qt header and runtime versions. Clean temporary files when
[dorian] / model / book.cpp
index 5942d6b..2715769 100644 (file)
@@ -32,6 +32,11 @@ Book::Book(const QString &p, QObject *parent): QObject(parent), loaded(false)
     }
 }
 
+Book::~Book()
+{
+    close();
+}
+
 QString Book::path()
 {
     return mPath;