diff --git a/plugins/share/share_config.cpp b/plugins/share/share_config.cpp index 818748b69..84a9b1738 100644 --- a/plugins/share/share_config.cpp +++ b/plugins/share/share_config.cpp @@ -33,6 +33,8 @@ ShareConfig::ShareConfig(QWidget *parent, const QVariantList& args) , m_ui(new Ui::ShareConfigUi()) { m_ui->setupUi(this); + // xgettext:no-c-format + m_ui->commentLabel->setText(i18n("%1 in the path will be replaced with the specific device name.")); connect(m_ui->kurlrequester, SIGNAL(textChanged(QString)), this, SLOT(changed())); } @@ -55,7 +57,7 @@ void ShareConfig::load() { KCModule::load(); - m_ui->kurlrequester->setUrl(config()->get("incoming_path", QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::DownloadLocation)))); + m_ui->kurlrequester->setUrl(QUrl::fromLocalFile(config()->get("incoming_path", QStandardPaths::writableLocation(QStandardPaths::DownloadLocation)))); Q_EMIT changed(false); } diff --git a/plugins/share/share_config.ui b/plugins/share/share_config.ui index ef919f953..f86aab34d 100644 --- a/plugins/share/share_config.ui +++ b/plugins/share/share_config.ui @@ -48,11 +48,7 @@ - - - %1 in the path will be replaced with the specific device name. - - +