summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
authorVitaly Wool <vitaly.wool@konsulko.com>2019-04-08 12:45:42 +0200
committerVitaly Wool <vitaly.wool@konsulko.com>2019-04-08 12:47:51 +0200
commit22a7ffb93ee7ef8d0c05e86e99fb1c70efca0888 (patch)
tree9bd9dc211d5d72c9fa73db4e1835cc88df635344 /app/main.cpp
parent122bcc295d054a733585996e859dea870ba5ca88 (diff)
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 <vitaly.wool@konsulko.com>
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp5
1 files changed, 3 insertions, 2 deletions
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 <QtQml/qqml.h>
#include <QQuickWindow>
#include <QQmlApplicationEngine>
+#include <QApplication>
#include <libhomescreen.hpp>
#include <qlibwindowmanager.h>
#include <taskmanager.h>
@@ -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"));