refactoring for better separation of concerns

This commit is contained in:
talksik
2024-02-08 16:24:08 -08:00
parent b83f80f7ec
commit dc74c0ede7
9 changed files with 86 additions and 54 deletions
+1 -3
View File
@@ -3,7 +3,7 @@
#include <qqml.h>
#include <QtQuick/qquickitem.h>
#include <QtQuick/qquickview.h>
#include <NetworkScanner.h>
#include <networksmodel.h>
#include <QQmlContext>
int main(int argc, char *argv[])
@@ -11,8 +11,6 @@ int main(int argc, char *argv[])
QGuiApplication app(argc, argv);
NetworksModel model;
model.scan();
qDebug() << "now has " << model.rowCount() << Qt::endl;
QQmlApplicationEngine engine;
const QUrl url(u"qrc:/wifipicker/Main.qml"_qs);