-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 7cd8644..b224deb 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -320,7 +320,8 @@ void AdvancedFm::populateLocalView() | |||
320 | // item->setPixmap( 0,pm ); | 320 | // item->setPixmap( 0,pm ); |
321 | } else if( (fileInfo.permission( QFileInfo::ExeUser) | 321 | } else if( (fileInfo.permission( QFileInfo::ExeUser) |
322 | | fileInfo.permission( QFileInfo::ExeGroup) | 322 | | fileInfo.permission( QFileInfo::ExeGroup) |
323 | | fileInfo.permission( QFileInfo::ExeOther)) & fs.find("vfat",0,TRUE) == -1) { | 323 | | fileInfo.permission( QFileInfo::ExeOther)) |
324 | | fs == "vfat" && fileInfo.filePath().contains("/bin") ) { | ||
324 | pm = Resource::loadPixmap( "exec"); | 325 | pm = Resource::loadPixmap( "exec"); |
325 | // else { //is exec | 326 | // else { //is exec |
326 | // pm = Resource::loadPixmap( "exec"); | 327 | // pm = Resource::loadPixmap( "exec"); |
@@ -442,7 +443,8 @@ void AdvancedFm::populateRemoteView() | |||
442 | // item->setPixmap( 0,pm ); | 443 | // item->setPixmap( 0,pm ); |
443 | } else if( (fileInfo.permission( QFileInfo::ExeUser) | 444 | } else if( (fileInfo.permission( QFileInfo::ExeUser) |
444 | | fileInfo.permission( QFileInfo::ExeGroup) | 445 | | fileInfo.permission( QFileInfo::ExeGroup) |
445 | | fileInfo.permission( QFileInfo::ExeOther)) & fs.find("vfat",0,TRUE) == -1) { | 446 | | fileInfo.permission( QFileInfo::ExeOther)) |
447 | | fs == "vfat" && fileInfo.filePath().contains("/bin") ) { | ||
446 | ///// } else if(fileInfo.isExecutable()){ //is exec <<<< BROKEN!! | 448 | ///// } else if(fileInfo.isExecutable()){ //is exec <<<< BROKEN!! |
447 | pm = Resource::loadPixmap( "exec"); | 449 | pm = Resource::loadPixmap( "exec"); |
448 | // item->setPixmap( 0,pm); | 450 | // item->setPixmap( 0,pm); |