summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/apps/textedit/fileBrowser.cpp2
-rw-r--r--core/apps/textedit/fileSaver.cpp2
-rw-r--r--core/apps/textedit/textedit.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp
index b029e5b..8c1e962 100644
--- a/core/apps/textedit/fileBrowser.cpp
+++ b/core/apps/textedit/fileBrowser.cpp
@@ -29,3 +29,3 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags
resize( 240, 280 );
- setCaption(tr( "Browse for file" ) );
+ setCaption(tr( name ) );
filterStr=filter;
diff --git a/core/apps/textedit/fileSaver.cpp b/core/apps/textedit/fileSaver.cpp
index f3be914..d78f2e8 100644
--- a/core/apps/textedit/fileSaver.cpp
+++ b/core/apps/textedit/fileSaver.cpp
@@ -33,3 +33,3 @@ fileSaver::fileSaver( QWidget* parent, const char* name, bool modal, WFlags fl
resize( 240, 280 );
- setCaption(tr( "Save file" ) );
+ setCaption(tr( name ) );
QFileInfo fi(currentFileName);
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index 72cc4d1..f138572 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -526,3 +526,3 @@ void TextEdit::newFileOpen()
{
- browseForFiles=new fileBrowser(this,"fileBrowser",TRUE,0, "*");
+ browseForFiles=new fileBrowser(this,"Open File",TRUE,0, "*");
if( browseForFiles->exec() != -1 ) {