From 22a7ffb93ee7ef8d0c05e86e99fb1c70efca0888 Mon Sep 17 00:00:00 2001 From: Vitaly Wool Date: Mon, 8 Apr 2019 12:45:42 +0200 Subject: Implement system load visualization Implement system load visualization in TaskManager as a separate tab showing average system load graph basing on the info provided by the backend. Change-Id: I81359185516ebb1b6218bfd9ca53f1d76dfddeb4 Signed-off-by: Vitaly Wool --- app/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/main.cpp') diff --git a/app/main.cpp b/app/main.cpp index c4d4bba..9a3a1ce 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -17,8 +18,8 @@ int main(int argc, char *argv[]) { QString graphic_role = QString("utility"); QString myname = QString("TaskManager"); - - QGuiApplication app(argc, argv); + + QApplication app(argc, argv); QCommandLineParser parser; parser.addPositionalArgument("port", app.translate("main", "port for binding")); -- cgit 1.2.3-korg