Compare commits
1 Commits
master
...
6c7e078340
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c7e078340 |
@@ -5,9 +5,21 @@
|
||||
#include <QCommandLineParser>
|
||||
#include <stdlib.h>
|
||||
#include "../thumbnailer/genthumbnail.h"
|
||||
#include <QTreeView>
|
||||
#include <QFileSystemModel>
|
||||
|
||||
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__
|
||||
setenv("LC_NUMERIC", "C", 1);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user