From 97d26278cb2243bfaeb690496e865e0070bfe112 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 29 Nov 2022 15:07:24 -0600 Subject: [PATCH] adding a more sophisticated debugging format --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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));