More refactor
This commit is contained in:
6 files changed
+83
-283
No files matched your search
@@ -11,7 +11,6 @@
|
||||
#include "backend/BookController.h"
|
||||
#include "backend/ReadingModel.h"
|
||||
#include "backend/AppState.h"
|
||||
#include "backend/QDocumentChunkMeasurer.h"
|
||||
#include "backend/NativeFileDialogService.h"
|
||||
|
||||
#ifdef HAS_QT_DBUS
|
||||
@@ -78,10 +77,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
QQuickStyle::setStyle(QStringLiteral("Basic"));
|
||||
|
||||
QDocumentChunkMeasurer chunkMeasurer(16, 160.0);
|
||||
|
||||
ReadingModel readingModel;
|
||||
readingModel.setChunkMeasurer(&chunkMeasurer);
|
||||
|
||||
BookController bookController;
|
||||
bookController.setReadingModel(&readingModel);
|
||||
|
||||
Reference in new issue
Block a user