-rw-r--r-- | core/apps/textedit/fileBrowser.cpp | 6 | ||||
-rw-r--r-- | core/apps/textedit/fileSaver.cpp | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp index 3e3cc3a..b029e5b 100644 --- a/core/apps/textedit/fileBrowser.cpp +++ b/core/apps/textedit/fileBrowser.cpp @@ -73,3 +73,3 @@ void fileBrowser::populateList() //qDebug(currentDir.canonicalPath()); - currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden ); + currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst); @@ -80,3 +80,3 @@ void fileBrowser::populateList() QString fileL, fileS; - const QFileInfoList *list = currentDir.entryInfoList(QDir::All /*, QDir::SortByMask*/); + const QFileInfoList *list = currentDir.entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/); QFileInfoListIterator it(*list); @@ -98,3 +98,3 @@ void fileBrowser::populateList() fileL+="/"; -// qDebug(currentDir.canonicalPath()+fileL); +// qDebug( fileL); } diff --git a/core/apps/textedit/fileSaver.cpp b/core/apps/textedit/fileSaver.cpp index de594aa..f3be914 100644 --- a/core/apps/textedit/fileSaver.cpp +++ b/core/apps/textedit/fileSaver.cpp @@ -84,3 +84,2 @@ fileSaver::~fileSaver() - void fileSaver::populateList() @@ -94,3 +93,3 @@ void fileSaver::populateList() QString fileL, fileS; - const QFileInfoList *list = currentDir.entryInfoList(QDir::All /*, QDir::SortByMask*/); + const QFileInfoList *list = currentDir.entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/); QFileInfoListIterator it(*list); |