summaryrefslogtreecommitdiffstats
path: root/kio/kfile/kencodingfiledialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kfile/kencodingfiledialog.cpp')
-rw-r--r--kio/kfile/kencodingfiledialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kio/kfile/kencodingfiledialog.cpp b/kio/kfile/kencodingfiledialog.cpp
index 07098982e..396006504 100644
--- a/kio/kfile/kencodingfiledialog.cpp
+++ b/kio/kfile/kencodingfiledialog.cpp
@@ -170,7 +170,7 @@ KEncodingFileDialog::Result KEncodingFileDialog::getSaveFileNameAndEncoding(cons
TQWidget *parent,
const TQString& caption)
{
- bool specialDir = dir.tqat(0) == ':';
+ bool specialDir = dir.at(0) == ':';
KEncodingFileDialog dlg(specialDir?dir:TQString::null, encoding,filter,caption.isNull() ? i18n("Save As") : caption,
Saving,parent, "filedialog", true);
@@ -193,7 +193,7 @@ KEncodingFileDialog::Result KEncodingFileDialog::getSaveURLAndEncoding(const TQ
const TQString& dir, const TQString& filter,
TQWidget *parent, const TQString& caption)
{
- bool specialDir = dir.tqat(0) == ':';
+ bool specialDir = dir.at(0) == ':';
KEncodingFileDialog dlg(specialDir?dir:TQString::null, encoding,filter,caption.isNull() ? i18n("Save As") :
caption, Saving,parent, "filedialog", true);