refactor: move reload function to QtShellGlobal

This commit is contained in:
outfoxxed 2024-02-04 05:17:18 -08:00
parent 7a18ce8a55
commit 767500b466
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 17 additions and 21 deletions

View file

@ -2,7 +2,6 @@
#include <qcontainerfwd.h>
#include <qlist.h>
#include <qlogging.h>
#include <qobject.h>
#include <qqmlengine.h>
#include <qqmllist.h>
@ -24,9 +23,6 @@ public:
QQmlListProperty<QObject> components();
public slots:
void reload(bool hard = true);
private:
static void appendComponent(QQmlListProperty<QObject>* list, QObject* component);