chore: comment out an option since string not localized

This commit is contained in:
Gary Wang 2022-04-04 01:14:02 +08:00
parent 4babf20427
commit d645c0f3be
No known key found for this signature in database
GPG Key ID: 5D30A4F15EA78760

View File

@ -29,6 +29,7 @@ SettingsDialog::SettingsDialog(QWidget *parent)
{ Settings::MouseWheelBehavior::Switch, tr("View next or previous item") }
};
// TODO: copywriting
static QList< QPair<Settings::WindowSizeBehavior, QString> > _iws_options {
{ Settings::WindowSizeBehavior::Auto, "Auto size" },
{ Settings::WindowSizeBehavior::Maximized, "Maximize" }
@ -52,7 +53,8 @@ SettingsDialog::SettingsDialog(QWidget *parent)
settingsForm->addRow(tr("Stay on top when start-up"), m_stayOnTop);
settingsForm->addRow(tr("Double-click behavior"), m_doubleClickBehavior);
settingsForm->addRow(tr("Mouse wheel behavior"), m_mouseWheelBehavior);
settingsForm->addRow("Init window size behavior", m_initWindowSizeBehavior);
// TODO: copywriting
// settingsForm->addRow("Init window size behavior", m_initWindowSizeBehavior);
m_stayOnTop->setChecked(Settings::instance()->stayOnTop());
m_doubleClickBehavior->setModel(new QStringListModel(dcbDropDown));