summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-09-25 07:39:37 (UTC)
committer llornkcor <llornkcor>2004-09-25 07:39:37 (UTC)
commit946445e87ce74b8b28817ea63854054dbf165003 (patch) (side-by-side diff)
treedba7e6837f362304eae498dcce25da5926381b33
parentb81695526ff68640b20fd4d1dfd6440bda35a520 (diff)
downloadopie-946445e87ce74b8b28817ea63854054dbf165003.zip
opie-946445e87ce74b8b28817ea63854054dbf165003.tar.gz
opie-946445e87ce74b8b28817ea63854054dbf165003.tar.bz2
remove not needed bool
Diffstat (more/less context) (show 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
@@ -78,7 +78,6 @@ protected:
bool b;
QStringList fileSystemTypeList, fsList;
int currentServerConfig;
- bool zaurusDevice;
QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3;
QStringList remoteDirPathStringList, localDirPathStringList;
QLineEdit *renameBox;
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
@@ -215,18 +215,10 @@ void AdvancedFm::init() {
///////////////
- if ( QFile::exists ( "/dev/sharp_buz" ) || QFile::exists ( "/dev/sharp_led" ))
- zaurusDevice=TRUE;
- else
- zaurusDevice=FALSE;
-
-
if( !StorageInfo::hasSd() || !StorageInfo::hasMmc()) {
- odebug << "not have sd" << oendl;
sdButton->hide();
}
if( !StorageInfo::hasCf() ) {
- odebug << "not have cf" << oendl;
cfButton->hide();
}
currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
@@ -235,8 +227,6 @@ void AdvancedFm::init() {
currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
currentRemoteDir.setPath( QDir::currentDirPath());
- // b = TRUE;
-
filterStr="*";
showMenuHidden();
TabWidget->setCurrentWidget(0);