summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-10-19 01:26:49 (UTC)
committer llornkcor <llornkcor>2002-10-19 01:26:49 (UTC)
commit7871e87fbd796c57374b23ec91890962b2ef1fe9 (patch) (unidiff)
treebc6cb8493540674ce18bfc017637108d10906cbf
parenta0ea0e7ff2fad769a92136edc1a7381692e7739f (diff)
downloadopie-7871e87fbd796c57374b23ec91890962b2ef1fe9.zip
opie-7871e87fbd796c57374b23ec91890962b2ef1fe9.tar.gz
opie-7871e87fbd796c57374b23ec91890962b2ef1fe9.tar.bz2
default fileopen to docs dir
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 35f9d3c..209c5de 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -539,7 +539,7 @@ void TextEdit::fileOpen() {
539 map.insert(tr("Text"), text ); 539 map.insert(tr("Text"), text );
540 text << "*"; 540 text << "*";
541 map.insert(tr("All"), text ); 541 map.insert(tr("All"), text );
542 QString str = OFileDialog::getOpenFileName( 2,"/", QString::null, map); 542 QString str = OFileDialog::getOpenFileName( 2, QPEApplication::documentDir(), QString::null, map);
543 if(!str.isEmpty() ) 543 if(!str.isEmpty() )
544 openFile( str ); 544 openFile( str );
545 545
@@ -814,7 +814,7 @@ bool TextEdit::saveAs() {
814 text << "*"; 814 text << "*";
815 map.insert(tr("All"), text ); 815 map.insert(tr("All"), text );
816 816
817 QString str = OFileDialog::getSaveFileName( 2,"/", QString::null, map); 817 QString str = OFileDialog::getSaveFileName( 2,QPEApplication::documentDir(), QString::null, map);
818 818
819 if(!str.isEmpty() ) { 819 if(!str.isEmpty() ) {
820 QString fileNm=str; 820 QString fileNm=str;