-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 @@ -541,3 +541,3 @@ void TextEdit::fileOpen() { 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() ) @@ -816,3 +816,3 @@ bool TextEdit::saveAs() { - QString str = OFileDialog::getSaveFileName( 2,"/", QString::null, map); + QString str = OFileDialog::getSaveFileName( 2,QPEApplication::documentDir(), QString::null, map); |