author | llornkcor <llornkcor> | 2002-03-20 01:08:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-20 01:08:47 (UTC) |
commit | 25653ee75580cdd24a16e82abe7271c9402429c7 (patch) (unidiff) | |
tree | 7b84fa83f295fd541a64dcc04d6522ce3c280e55 | |
parent | 090ac02da739600c577ed6396e04ed0e121f7890 (diff) | |
download | opie-25653ee75580cdd24a16e82abe7271c9402429c7.zip opie-25653ee75580cdd24a16e82abe7271c9402429c7.tar.gz opie-25653ee75580cdd24a16e82abe7271c9402429c7.tar.bz2 |
fix hidden mode revertig after delete and such
-rw-r--r-- | noncore/unsupported/filebrowser/filebrowser.cpp | 8 |
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 | |||
@@ -209,7 +209,4 @@ void FileView::resizeEvent( QResizeEvent *e ) | |||
209 | void FileView::updateDir() | 209 | void FileView::updateDir() |
210 | { | 210 | { |
211 | setCaption( "Boogie on boogieboy"); | ||
212 | //qDebug("Caption should be "+currentDir); | ||
213 | |||
214 | generateDir( currentDir ); | 211 | generateDir( currentDir ); |
215 | } | 212 | } |
@@ -723,5 +720,6 @@ void FileBrowser::init(const QString & dir) | |||
723 | sortMenu->insertSeparator(); | 720 | sortMenu->insertSeparator(); |
724 | sortMenu->insertItem( tr( "Show Hidden "), this, SLOT( showHidden() ) ); | 721 | sortMenu->insertItem( tr( "Show Hidden "), this, SLOT( showHidden() ) ); |
725 | fileView->showingHidden=FALSE; | 722 | |
723 | // fileView->showingHidden=FALSE; | ||
726 | 724 | ||
727 | sortMenu->setItemChecked( sortMenu->idAt( 5 ), TRUE ); | 725 | sortMenu->setItemChecked( sortMenu->idAt( 5 ), TRUE ); |
@@ -874,5 +872,5 @@ void FileBrowser::updateSorting() | |||
874 | 872 | ||
875 | void FileBrowser::showHidden() { | 873 | void FileBrowser::showHidden() { |
876 | if(! fileView->showingHidden) { | 874 | if(!fileView->showingHidden) { |
877 | fileView->showingHidden=TRUE; | 875 | fileView->showingHidden=TRUE; |
878 | sortMenu->setItemChecked( sortMenu->idAt( 7),TRUE); | 876 | sortMenu->setItemChecked( sortMenu->idAt( 7),TRUE); |