From 40bfd59dc5c427a483756cd45bd0b8cee2ef38cf Mon Sep 17 00:00:00 2001 From: Slava Monich Date: Sun, 21 Feb 2016 13:48:07 +0300 Subject: [PATCH] [app] Added -d option that turns on built-in fbreader trace for example, -d epub --- app/src/ZLibrary.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/src/ZLibrary.cpp b/app/src/ZLibrary.cpp index 360889e..c5b2873 100644 --- a/app/src/ZLibrary.cpp +++ b/app/src/ZLibrary.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 Jolla Ltd. + * Copyright (C) 2015-2016 Jolla Ltd. * Contact: Slava Monich * * You may use this file under the terms of the BSD license as follows: @@ -41,6 +41,7 @@ #include "ZLibrary.h" #include "ZLApplication.h" #include "ZLLanguageUtil.h" +#include "ZLLogger.h" #include "filesystem/ZLQtFSManager.h" #include "time/ZLQtTime.h" @@ -191,6 +192,14 @@ void ZLibrary::run(ZLApplication* aApp) void ZLibrary::parseArguments(int &argc, char **&argv) { + for (int i=1; i