adding a more sophisticated debugging format
This commit is contained in:
parent
832748aa17
commit
97d26278cb
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
connectToDatabase();
|
connectToDatabase();
|
||||||
|
|
||||||
|
qSetMessagePattern("%{type}: %{time [h:m:s ap]} %{function} in %{file}: %{message}\n");
|
||||||
|
|
||||||
QQmlApplicationEngine engine;
|
QQmlApplicationEngine engine;
|
||||||
|
|
||||||
engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
|
engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue