author | llornkcor <llornkcor> | 2002-03-24 15:37:21 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-24 15:37:21 (UTC) |
commit | 0df992b84871ca9786a3ce0cc40defd8b6bc0dfd (patch) (unidiff) | |
tree | b917ee58f6ff7b6b894762cd013227382f4f08cb | |
parent | f01751db63eac7b54c5c7a3115ca4ae3d957ac5a (diff) | |
download | opie-0df992b84871ca9786a3ce0cc40defd8b6bc0dfd.zip opie-0df992b84871ca9786a3ce0cc40defd8b6bc0dfd.tar.gz opie-0df992b84871ca9786a3ce0cc40defd8b6bc0dfd.tar.bz2 |
left errent bracket
-rw-r--r-- | core/apps/textedit/fileBrowser.cpp | 4 |
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 | |||
@@ -440,30 +440,30 @@ void fileBrowser::updateMimeTypeMenu() { | |||
440 | // typemb->select(prev); | 440 | // typemb->select(prev); |
441 | 441 | ||
442 | connect(typemb, SIGNAL(selected(const QString&)), this, SLOT(showType(const QString&))); | 442 | connect(typemb, SIGNAL(selected(const QString&)), this, SLOT(showType(const QString&))); |
443 | } | 443 | } |
444 | 444 | ||
445 | void fileBrowser::showType(const QString &t) { | 445 | void 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 | } |
466 | 466 | ||
467 | QStringList fileBrowser::getMimeTypes() { | 467 | QStringList fileBrowser::getMimeTypes() { |
468 | QStringList r; | 468 | QStringList r; |
469 | AppLnkSet apps( QPEApplication::qpeDir() + "apps" ); | 469 | AppLnkSet apps( QPEApplication::qpeDir() + "apps" ); |