-rw-r--r-- | noncore/apps/tinykate/tinykate.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/apps/tinykate/tinykate.cpp b/noncore/apps/tinykate/tinykate.cpp index 51afd31..6164fa5 100644 --- a/noncore/apps/tinykate/tinykate.cpp +++ b/noncore/apps/tinykate/tinykate.cpp | |||
@@ -153,4 +153,5 @@ void TinyKate::slotOpen( ) | |||
153 | { | 153 | { |
154 | QString filename=OFileDialog::getOpenFileName(OFileSelector::EXTENDED_ALL); | 154 | QString filename = OFileDialog::getOpenFileName( OFileSelector::EXTENDED_ALL, |
155 | if (!filename.isEmpty()) { | 155 | QPEApplication::documentDir()); |
156 | if (!filename.isEmpty()) { | ||
156 | open(filename); | 157 | open(filename); |
@@ -169,3 +170,3 @@ void TinyKate::open(const QString & filename) | |||
169 | kd->setDocName( filenamed); | 170 | kd->setDocName( filenamed); |
170 | kd->open(filename); | 171 | kd->open( filename ); |
171 | viewCount++; | 172 | viewCount++; |
@@ -242,3 +243,4 @@ void TinyKate::slotSaveAs() { | |||
242 | 243 | ||
243 | QString filename=OFileDialog::getSaveFileName(OFileSelector::EXTENDED_ALL); | 244 | QString filename=OFileDialog::getSaveFileName(OFileSelector::EXTENDED_ALL, |
245 | QPEApplication::documentDir()); | ||
244 | if (!filename.isEmpty()) { | 246 | if (!filename.isEmpty()) { |