summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.h1
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp10
2 files changed, 0 insertions, 11 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h
index 42f3bc6..c25bce2 100644
--- a/noncore/apps/advancedfm/advancedfm.h
+++ b/noncore/apps/advancedfm/advancedfm.h
@@ -79,5 +79,4 @@ protected:
79 QStringList fileSystemTypeList, fsList; 79 QStringList fileSystemTypeList, fsList;
80 int currentServerConfig; 80 int currentServerConfig;
81 bool zaurusDevice;
82 QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3; 81 QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3;
83 QStringList remoteDirPathStringList, localDirPathStringList; 82 QStringList remoteDirPathStringList, localDirPathStringList;
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp
index eaf4f79..3664c75 100644
--- a/noncore/apps/advancedfm/advancedfmData.cpp
+++ b/noncore/apps/advancedfm/advancedfmData.cpp
@@ -216,16 +216,8 @@ void AdvancedFm::init() {
216 /////////////// 216 ///////////////
217 217
218 if ( QFile::exists ( "/dev/sharp_buz" ) || QFile::exists ( "/dev/sharp_led" ))
219 zaurusDevice=TRUE;
220 else
221 zaurusDevice=FALSE;
222
223
224 if( !StorageInfo::hasSd() || !StorageInfo::hasMmc()) { 218 if( !StorageInfo::hasSd() || !StorageInfo::hasMmc()) {
225 odebug << "not have sd" << oendl;
226 sdButton->hide(); 219 sdButton->hide();
227 } 220 }
228 if( !StorageInfo::hasCf() ) { 221 if( !StorageInfo::hasCf() ) {
229 odebug << "not have cf" << oendl;
230 cfButton->hide(); 222 cfButton->hide();
231 } 223 }
@@ -236,6 +228,4 @@ void AdvancedFm::init() {
236 currentRemoteDir.setPath( QDir::currentDirPath()); 228 currentRemoteDir.setPath( QDir::currentDirPath());
237 229
238 // b = TRUE;
239
240 filterStr="*"; 230 filterStr="*";
241 showMenuHidden(); 231 showMenuHidden();