forked from qt-creator/qt-creator
Android: fix minor syntax issues
This fixes minor things missed in previous commit
b081d7dc8f
.
Change-Id: I47c0703a81726d7c0c2bf01d844e39096424ea5e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -242,13 +242,13 @@ void AndroidManifestEditorWidget::initializePage()
|
|||||||
|
|
||||||
m_styleExtractMethod = new QComboBox(applicationGroupBox);
|
m_styleExtractMethod = new QComboBox(applicationGroupBox);
|
||||||
formLayout->addRow(tr("Style extraction:"), m_styleExtractMethod);
|
formLayout->addRow(tr("Style extraction:"), m_styleExtractMethod);
|
||||||
QList<QStringList> styleMethodsMap = {
|
const QList<QStringList> styleMethodsMap = {
|
||||||
{"default", "In most cases this will be the same as \"full\", but it can also be something else if needed, e.g. for compatibility reasons."},
|
{"default", "In most cases this will be the same as \"full\", but it can also be something else if needed, e.g. for compatibility reasons."},
|
||||||
{"full", "Useful for Qt Widgets & Qt Quick Controls 1 apps."},
|
{"full", "Useful for Qt Widgets & Qt Quick Controls 1 apps."},
|
||||||
{"minimal", "Useful for Qt Quick Controls 2 apps, it is much faster than \"full\"."},
|
{"minimal", "Useful for Qt Quick Controls 2 apps, it is much faster than \"full\"."},
|
||||||
{"none", "Useful for apps that don't use Qt Widgets, Qt Quick Controls 1 or Qt Quick Controls 2."}};
|
{"none", "Useful for apps that don't use Qt Widgets, Qt Quick Controls 1 or Qt Quick Controls 2."}};
|
||||||
for (int i = 0; i <styleMethodsMap.size(); ++i) {
|
for (int i = 0; i <styleMethodsMap.size(); ++i) {
|
||||||
m_styleExtractMethod->addItem(styleMethodsMap.at(i).at(0));
|
m_styleExtractMethod->addItem(styleMethodsMap.at(i).first());
|
||||||
m_styleExtractMethod->setItemData(i, styleMethodsMap.at(i).at(1), Qt::ToolTipRole);
|
m_styleExtractMethod->setItemData(i, styleMethodsMap.at(i).at(1), Qt::ToolTipRole);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user