forked from qt-creator/qt-creator
All: Use the shorter access to aspect values in a few places
Change-Id: Ie0ff0e4e1cf4c2750897ea733dfccb743f44fa93 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -224,7 +224,7 @@ LogChangeDialog::LogChangeDialog(bool isReset, QWidget *parent) :
|
||||
m_resetTypeComboBox->addItem(Tr::tr("Hard"), "--hard");
|
||||
m_resetTypeComboBox->addItem(Tr::tr("Mixed"), "--mixed");
|
||||
m_resetTypeComboBox->addItem(Tr::tr("Soft"), "--soft");
|
||||
m_resetTypeComboBox->setCurrentIndex(GitClient::settings().lastResetIndex.value());
|
||||
m_resetTypeComboBox->setCurrentIndex(GitClient::settings().lastResetIndex());
|
||||
popUpLayout->addWidget(m_resetTypeComboBox);
|
||||
popUpLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Ignored));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user