summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-07-17 19:51:45 (UTC)
committer llornkcor <llornkcor>2003-07-17 19:51:45 (UTC)
commitcf3921fe77f87e94ff821df65bb80b02487a9f9b (patch) (side-by-side diff)
treef7109c1df836035b73226ac64837c76e467f19a3
parent6140e0d6a131ac127ebfc583990cb6ceefdd30ad (diff)
downloadopie-cf3921fe77f87e94ff821df65bb80b02487a9f9b.zip
opie-cf3921fe77f87e94ff821df65bb80b02487a9f9b.tar.gz
opie-cf3921fe77f87e94ff821df65bb80b02487a9f9b.tar.bz2
show no hidden default. fix for nonfresh after move, via patch. thanks
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp3
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp9
2 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp
index a120f35..45dc0c4 100644
--- a/noncore/apps/advancedfm/advancedfmData.cpp
+++ b/noncore/apps/advancedfm/advancedfmData.cpp
@@ -224,16 +224,17 @@ void AdvancedFm::init() {
currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
currentDir.setPath( QDir::currentDirPath());
currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
currentRemoteDir.setPath( QDir::currentDirPath());
- b = TRUE;
+ // b = TRUE;
filterStr="*";
b=FALSE;
+ showMenuHidden();
TabWidget->setCurrentTab(0);
}
void AdvancedFm::initConnections()
{
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index 00d0e07..544350c 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -31,13 +31,12 @@
#include <qlayout.h>
#include <qpixmap.h>
#include <qcombobox.h>
#include <qpopupmenu.h>
#include <qtabwidget.h>
#include <qtoolbutton.h>
-#include <qtabwidget.h>
#include <qlineedit.h>
#include <qlistview.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
@@ -68,13 +67,13 @@ void AdvancedFm::showMenuHidden()
OtherDir()->setFilter( QDir::Files | QDir::Dirs/* | QDir::Hidden*/ | QDir::All);
fileMenu->setItemChecked( fileMenu->idAt(0),FALSE);
// b=TRUE;
}
rePopulate();
// if(b) qDebug("<<<<<<<<<<<<<<<<<<<<<<<<<<<< true");
- if(b) b = false; else b = true;
+ b = !b;
}
void AdvancedFm::showHidden()
{
if (b)
{
@@ -517,15 +516,15 @@ void AdvancedFm::move()
} else
QFile::remove(curFile);
}
}
}
- setOtherTabCurrent();
- populateView();
-// populateLocalView();
+ populateView();
+ setOtherTabCurrent();
+ populateView();
}
bool AdvancedFm::copyFile( const QString & src, const QString & dest )
{
bool success = true;
struct stat status;