diff --git a/src/main.cpp b/src/main.cpp index 19136ef..6a2ad10 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -115,6 +115,8 @@ int main(int argc, char *argv[]) connectToDatabase(); + qSetMessagePattern("%{type}: %{time [h:m:s ap]} %{function} in %{file}: %{message}\n"); + QQmlApplicationEngine engine; engine.rootContext()->setContextObject(new KLocalizedContext(&engine));