GUI: SelectFilesDialog - set root path to '/'. More files are selectable.
This commit is contained in:
parent
6f3807d915
commit
9beb38a74d
|
@ -27,6 +27,7 @@ public:
|
||||||
f << "*.cpp";
|
f << "*.cpp";
|
||||||
setNameFilters(f);
|
setNameFilters(f);
|
||||||
setNameFilterDisables(false);
|
setNameFilterDisables(false);
|
||||||
|
setRootPath("/");
|
||||||
}
|
}
|
||||||
|
|
||||||
Qt::ItemFlags flags(const QModelIndex& index) const {
|
Qt::ItemFlags flags(const QModelIndex& index) const {
|
||||||
|
|
Loading…
Reference in New Issue