Compare commits

...

1 Commits

Author SHA1 Message Date
nou 6c7e078340 Testing filetree crash on ARM 2025-07-16 07:44:19 +02:00
+12
View File
@@ -5,9 +5,21 @@
#include <QCommandLineParser> #include <QCommandLineParser>
#include <stdlib.h> #include <stdlib.h>
#include "../thumbnailer/genthumbnail.h" #include "../thumbnailer/genthumbnail.h"
#include <QTreeView>
#include <QFileSystemModel>
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QApplication app(argc, argv);
QFileSystemModel model;
model.setRootPath("/home");
QTreeView treeView;
treeView.setModel(&model);
treeView.resize(800, 600);
treeView.show();
return app.exec();
#ifdef __linux__ #ifdef __linux__
setenv("LC_NUMERIC", "C", 1); setenv("LC_NUMERIC", "C", 1);
#endif #endif