summaryrefslogtreecommitdiff
path: root/noncore
authorllornkcor <llornkcor>2002-03-20 01:08:47 (UTC)
committer llornkcor <llornkcor>2002-03-20 01:08:47 (UTC)
commit25653ee75580cdd24a16e82abe7271c9402429c7 (patch) (side-by-side diff)
tree7b84fa83f295fd541a64dcc04d6522ce3c280e55 /noncore
parent090ac02da739600c577ed6396e04ed0e121f7890 (diff)
downloadopie-25653ee75580cdd24a16e82abe7271c9402429c7.zip
opie-25653ee75580cdd24a16e82abe7271c9402429c7.tar.gz
opie-25653ee75580cdd24a16e82abe7271c9402429c7.tar.bz2
fix hidden mode revertig after delete and such
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/filebrowser/filebrowser.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/noncore/unsupported/filebrowser/filebrowser.cpp b/noncore/unsupported/filebrowser/filebrowser.cpp
index d9aabfd..6f82f95 100644
--- a/noncore/unsupported/filebrowser/filebrowser.cpp
+++ b/noncore/unsupported/filebrowser/filebrowser.cpp
@@ -205,15 +205,12 @@ void FileView::resizeEvent( QResizeEvent *e )
setColumnWidth( 3, 0 );
QListView::resizeEvent( e );
}
void FileView::updateDir()
{
- setCaption( "Boogie on boogieboy");
- //qDebug("Caption should be "+currentDir);
-
generateDir( currentDir );
}
void FileView::setDir( const QString & dir )
{
if ( dir.startsWith( "/dev" ) ) {
@@ -719,13 +716,14 @@ void FileBrowser::init(const QString & dir)
sortMenu->insertItem( tr( "by Date "), this, SLOT( sortDate() ) );
sortMenu->insertItem( tr( "by Type "), this, SLOT( sortType() ) );
sortMenu->insertSeparator();
sortMenu->insertItem( tr( "Ascending" ), this, SLOT( updateSorting() ) );
sortMenu->insertSeparator();
sortMenu->insertItem( tr( "Show Hidden "), this, SLOT( showHidden() ) );
- fileView->showingHidden=FALSE;
+
+// fileView->showingHidden=FALSE;
sortMenu->setItemChecked( sortMenu->idAt( 5 ), TRUE );
sortMenu->setItemChecked( sortMenu->idAt( 0 ), TRUE );
toolBar = new QPEToolBar( this );
@@ -870,13 +868,13 @@ void FileBrowser::updateSorting()
sortDate();
else
sortType();
}
void FileBrowser::showHidden() {
- if(! fileView->showingHidden) {
+ if(!fileView->showingHidden) {
fileView->showingHidden=TRUE;
sortMenu->setItemChecked( sortMenu->idAt( 7),TRUE);
} else {
fileView->showingHidden=FALSE;
sortMenu->setItemChecked( sortMenu->idAt( 7),FALSE);
}