-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 @@ -207,11 +207,8 @@ void FileView::resizeEvent( QResizeEvent *e ) } void FileView::updateDir() { - setCaption( "Boogie on boogieboy"); - //qDebug("Caption should be "+currentDir); - generateDir( currentDir ); } void FileView::setDir( const QString & dir ) @@ -721,9 +718,10 @@ void FileBrowser::init(const QString & dir) 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 ); @@ -872,9 +870,9 @@ void FileBrowser::updateSorting() sortType(); } void FileBrowser::showHidden() { - if(! fileView->showingHidden) { + if(!fileView->showingHidden) { fileView->showingHidden=TRUE; sortMenu->setItemChecked( sortMenu->idAt( 7),TRUE); } else { fileView->showingHidden=FALSE; |