Diffstat (limited to 'noncore/apps/advancedfm/advancedfmMenu.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfmMenu.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index 80324eb..ed280aa 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp @@ -658,3 +658,3 @@ void AdvancedFm::fileStatus() { curFile = CurrentView()->currentItem()->text(0); - + if(QFileInfo("/usr/bin/stat").exists()) { QStringList command; @@ -663,3 +663,2 @@ void AdvancedFm::fileStatus() { command << "stat -l "+ curFile; - Output *outDlg; @@ -667,2 +666,17 @@ void AdvancedFm::fileStatus() { QPEApplication::execDialog( outDlg ); + } else { +/* struct stat buf; + stat( curFile.local8bit(), &buf); + + st_dev dev; + st_uid uid; + st_gid gid; + st_size size; + st_atime atime; + st_mtime mtime; + st_ctime ctime; + st_mode mode; +*/ + } + qApp->processEvents(); |