author | llornkcor <llornkcor> | 2002-10-19 01:26:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-19 01:26:49 (UTC) |
commit | 7871e87fbd796c57374b23ec91890962b2ef1fe9 (patch) (side-by-side diff) | |
tree | bc6cb8493540674ce18bfc017637108d10906cbf | |
parent | a0ea0e7ff2fad769a92136edc1a7381692e7739f (diff) | |
download | opie-7871e87fbd796c57374b23ec91890962b2ef1fe9.zip opie-7871e87fbd796c57374b23ec91890962b2ef1fe9.tar.gz opie-7871e87fbd796c57374b23ec91890962b2ef1fe9.tar.bz2 |
default fileopen to docs dir
-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 35f9d3c..209c5de 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -538,9 +538,9 @@ void TextEdit::fileOpen() { text << "text/*"; map.insert(tr("Text"), text ); text << "*"; map.insert(tr("All"), text ); - QString str = OFileDialog::getOpenFileName( 2,"/", QString::null, map); + QString str = OFileDialog::getOpenFileName( 2, QPEApplication::documentDir(), QString::null, map); if(!str.isEmpty() ) openFile( str ); } @@ -813,9 +813,9 @@ bool TextEdit::saveAs() { map.insert(tr("Text"), text ); text << "*"; map.insert(tr("All"), text ); - QString str = OFileDialog::getSaveFileName( 2,"/", QString::null, map); + QString str = OFileDialog::getSaveFileName( 2,QPEApplication::documentDir(), QString::null, map); if(!str.isEmpty() ) { QString fileNm=str; |