author | llornkcor <llornkcor> | 2002-05-21 15:03:56 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-21 15:03:56 (UTC) |
commit | 0ba2d95e89f55b13f2247819b6672362a8b5a484 (patch) (unidiff) | |
tree | 3ee26bbcef62cca6192bd932658ed93708c23678 /core/apps/textedit/textedit.cpp | |
parent | d65dc25caec62d4c554c99fbc151bf4d07c63b72 (diff) | |
download | opie-0ba2d95e89f55b13f2247819b6672362a8b5a484.zip opie-0ba2d95e89f55b13f2247819b6672362a8b5a484.tar.gz opie-0ba2d95e89f55b13f2247819b6672362a8b5a484.tar.bz2 |
maybe fixed bug
Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/textedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 19449cb..b8d62db 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -510,12 +510,12 @@ void TextEdit::fileOpen() | |||
510 | if(cfg.readEntry("useOldFileDialog") == "TRUE") | 510 | if(cfg.readEntry("useOldFileDialog") == "TRUE") |
511 | b=TRUE; | 511 | b=TRUE; |
512 | if(!b) { | 512 | if(!b) { |
513 | QString str = OFileDialog::getOpenFileName( 1,"/","", "text/plain", this ); | 513 | QString str = OFileDialog::getOpenFileName( 1,"/","", "*", this ); |
514 | if(!str.isEmpty() ) | 514 | if(!str.isEmpty() ) |
515 | openFile( str ); | 515 | openFile( str ); |
516 | } else { | 516 | } else { |
517 | QString str; | 517 | QString str; |
518 | browseForFiles = new fileBrowser(this,tr("Open File"),TRUE,0, "text/*"); // | 518 | browseForFiles = new fileBrowser(this,tr("Open File"),TRUE,0, "*"); // |
519 | browseForFiles->setFileView( viewSelection ); | 519 | browseForFiles->setFileView( viewSelection ); |
520 | browseForFiles->showMaximized(); | 520 | browseForFiles->showMaximized(); |
521 | // if( result != -1 ) | 521 | // if( result != -1 ) |