summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfmData.cpp
Unidiff
Diffstat (limited to 'noncore/apps/advancedfm/advancedfmData.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp10
1 files changed, 0 insertions, 10 deletions
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
@@ -212,34 +212,24 @@ void AdvancedFm::init() {
212 212
213 TabWidget->insertTab( tab_3, tr( "Remote" ) ); 213 TabWidget->insertTab( tab_3, tr( "Remote" ) );
214 */ 214 */
215 215
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 }
232 currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); 224 currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
233 currentDir.setPath( QDir::currentDirPath()); 225 currentDir.setPath( QDir::currentDirPath());
234 226
235 currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); 227 currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
236 currentRemoteDir.setPath( QDir::currentDirPath()); 228 currentRemoteDir.setPath( QDir::currentDirPath());
237 229
238 // b = TRUE;
239
240 filterStr="*"; 230 filterStr="*";
241 showMenuHidden(); 231 showMenuHidden();
242 TabWidget->setCurrentWidget(0); 232 TabWidget->setCurrentWidget(0);
243 233
244} 234}
245 235