summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/fileBrowser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp
index c9366e7..7eac5d2 100644
--- a/core/apps/textedit/fileBrowser.cpp
+++ b/core/apps/textedit/fileBrowser.cpp
@@ -444,22 +444,22 @@ void fileBrowser::updateMimeTypeMenu() {
444 444
445void fileBrowser::showType(const QString &t) { 445void fileBrowser::showType(const QString &t) {
446 446
447 qDebug(t); 447 qDebug(t);
448 mimeType = t+"/*"; 448 mimeType = t+"/*";
449// if(fileSelector) { 449// if(fileSelector) {
450// disconnect( fileSelector, SIGNAL( fileSelected( const DocLnk &) ), this, SLOT( docOpen( const DocLnk & ) ) ); 450// disconnect( fileSelector, SIGNAL( fileSelected( const DocLnk &) ), this, SLOT( docOpen( const DocLnk & ) ) );
451// delete fileSelector; 451// delete fileSelector;
452 } 452 // }
453 // fileSelector = new FileSelector( mimeType, FileStack, "fileselector" , FALSE, FALSE); //buggy 453 // fileSelector = new FileSelector( mimeType, FileStack, "fileselector" , FALSE, FALSE); //buggy
454// connect( fileSelector, SIGNAL( closeMe() ), this, SLOT( showEditTools() ) ); 454// connect( fileSelector, SIGNAL( closeMe() ), this, SLOT( showEditTools() ) );
455// connect( fileSelector, SIGNAL( newSelected( const DocLnk &) ), this, SLOT( newFile( const DocLnk & ) ) ); 455// connect( fileSelector, SIGNAL( newSelected( const DocLnk &) ), this, SLOT( newFile( const DocLnk & ) ) );
456 // connect( fileSelector, SIGNAL( fileSelected( const DocLnk &) ), this, SLOT( docOpen( const DocLnk & ) ) ); 456 // connect( fileSelector, SIGNAL( fileSelected( const DocLnk &) ), this, SLOT( docOpen( const DocLnk & ) ) );
457 fileSelector->reread(); 457// fileSelector->reread();
458 repaint(); 458 repaint();
459// if ( t == tr("All") ) { 459// if ( t == tr("All") ) {
460// icons->setTypeFilter("",TRUE); 460// icons->setTypeFilter("",TRUE);
461// } else { 461// } else {
462// icons->setTypeFilter(t+"/*",TRUE); 462// icons->setTypeFilter(t+"/*",TRUE);
463// } 463// }
464 464
465} 465}