From 7871e87fbd796c57374b23ec91890962b2ef1fe9 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sat, 19 Oct 2002 01:26:49 +0000 Subject: default fileopen to docs dir --- (limited to 'core') 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() { 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 ); @@ -814,7 +814,7 @@ bool TextEdit::saveAs() { 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; -- cgit v0.9.0.2