diff options
Diffstat (limited to 'src/libgui/editor_manager.cpp')
-rw-r--r-- | src/libgui/editor_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgui/editor_manager.cpp b/src/libgui/editor_manager.cpp index 5c9c193..8713c9e 100644 --- a/src/libgui/editor_manager.cpp +++ b/src/libgui/editor_manager.cpp @@ -106,7 +106,7 @@ bool EditorManager::openFile(const PURL::Url &url) if ( url.isEmpty() ) return false; Editor *e = findEditor(url); if (e) { // document already loaded - if ( !MessageBox::askContinue(i18n("File \"%1\" already loaded. Reload?").tqarg(url.kurl().prettyURL()), + if ( !MessageBox::askContinue(i18n("File \"%1\" already loaded. Reload?").arg(url.kurl().prettyURL()), i18n("Warning"), i18n("Reload")) ) return true; if ( !e->slotLoad() ) { closeEditor(e, false); @@ -439,7 +439,7 @@ void EditorManager::switchToEditor() SwitchToDialog dialog(names, this); if ( dialog.exec()!=TQDialog::Accepted ) return; for (uint i=0; i<names.count(); i++) { - if ( dialog.name()!=names[i] && dialog.name()!=TQString("%1").tqarg(i+1) ) continue; + if ( dialog.name()!=names[i] && dialog.name()!=TQString("%1").arg(i+1) ) continue; showEditor(_editors[i]); return; } |