This commit is contained in:
Martin Rotter 2021-06-22 07:22:31 +02:00
parent fa31189357
commit 647789d31e
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ void FormCategoryDetails::loadCategoryData() {
} }
} }
else { else {
setWindowTitle(tr("Edit '%1'").arg(m_category->title())); setWindowTitle(tr("Edit \"%1\"").arg(m_category->title()));
m_ui->m_cmbParentCategory->setCurrentIndex(m_ui->m_cmbParentCategory->findData(QVariant::fromValue((void*) m_category->parent()))); m_ui->m_cmbParentCategory->setCurrentIndex(m_ui->m_cmbParentCategory->findData(QVariant::fromValue((void*) m_category->parent())));
} }

View file

@ -81,7 +81,7 @@ void FormFeedDetails::loadFeedData() {
setWindowTitle(tr("Add new feed")); setWindowTitle(tr("Add new feed"));
} }
else { else {
setWindowTitle(tr("Edit '%1'").arg(m_feed->title())); setWindowTitle(tr("Edit \"%1\"").arg(m_feed->title()));
} }
m_ui->m_cmbAutoUpdateType->setCurrentIndex(m_ui->m_cmbAutoUpdateType->findData(QVariant::fromValue(int(m_feed->autoUpdateType())))); m_ui->m_cmbAutoUpdateType->setCurrentIndex(m_ui->m_cmbAutoUpdateType->findData(QVariant::fromValue(int(m_feed->autoUpdateType()))));