diff options
Diffstat (limited to 'src/formatimporter.cpp')
-rw-r--r-- | src/formatimporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/formatimporter.cpp b/src/formatimporter.cpp index f28df81..a0a24ad 100644 --- a/src/formatimporter.cpp +++ b/src/formatimporter.cpp @@ -131,7 +131,7 @@ void FormatImporter::importBaskets() if (folderName.startsWith("/")) { // It was a folder mirror: KMessageBox::information(0, i18n("<p>Folder mirroring is not possible anymore (see <a href='http://basket.kde.org/'>basket.kde.org</a> for more information).</p>" "<p>The folder <b>%1</b> has been copied for the basket needs. You can either delete this folder or delete the basket, or use both. But remember that " - "modifying one will not modify the other anymore as they are now separate entities.</p>").tqarg(folderName), i18n("Folder Mirror Import"), + "modifying one will not modify the other anymore as they are now separate entities.</p>").arg(folderName), i18n("Folder Mirror Import"), "", KMessageBox::AllowLink); // Also modify folderName to be only the folder name and not the full path anymore: TQString newFolderName = folderName; @@ -259,7 +259,7 @@ TQDomElement FormatImporter::importBasket(const TQString &folderName) "Name=%2\n" "Icon=%3\n" "Encoding=UTF-8\n" - "Type=Application\n").tqarg(runCommand, title, icon.isEmpty() ? TQString("exec") : icon); + "Type=Application\n").arg(runCommand, title, icon.isEmpty() ? TQString("exec") : icon); TQString launcherFileName = Tools::fileNameForNewFile("launcher.desktop", Global::basketsFolder() + folderName /*+ "/"*/); TQString launcherFullPath = Global::basketsFolder() + folderName /*+ "/"*/ + launcherFileName; TQFile file(launcherFullPath); |