more unfinished changes, process tab for dashboard
This commit is contained in:
@@ -102,6 +102,11 @@ void Toast::unlock(QObject* sender) {
|
||||
|
||||
Toaster::Toaster(QObject* parent) : QObject(parent) {}
|
||||
|
||||
Toaster* Toaster::instance() {
|
||||
static Toaster toaster;
|
||||
return &toaster;
|
||||
}
|
||||
|
||||
QQmlListProperty<Toast> Toaster::toasts() {
|
||||
return QQmlListProperty<Toast>(this, &m_toasts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user