swaymux/tree/PsTreeModel.cpp
2024-03-04 00:27:05 +01:00

21 lines
486 B
C++

//
// Created by grimmauld on 25.02.24.
//
#include "PsTreeModel.h"
void PsTreeModel::update() {
/*
auto* root = getRoot();
auto changes = update_process_records(root);
QList<QPersistentModelIndex> changedParents{};
for(auto* node: changes) {
changedParents.push_back(createIndex(node->row(), 0, node));
}
layoutAboutToBeChanged(changedParents);
*/
}
PsTreeModel::PsTreeModel(QObject *parent) : PsTreeModel(get_process_records(), parent) {}