0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 01:04:41 +08:00

18 lines
330 B
C++
Raw Normal View History

2016-04-29 16:13:32 +03:00
#include <QApplication>
#include <QTreeView>
#include <QFileSystemModel>
int main(int argc, char **argv)
{
QApplication app(argc, argv);
QFileSystemModel *model = new QFileSystemModel;
model->setRootPath(QDir::currentPath());
QTreeView *tree = new QTreeView();
tree->setModel(model);
tree->show();
return app.exec();
}