Skip to content

Commit

Permalink
Skip enumeration name
Browse files Browse the repository at this point in the history
  • Loading branch information
Emdek committed May 9, 2020
1 parent 11f0358 commit edd2de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/preferences/MouseProfileDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ MouseProfileDialog::MouseProfileDialog(const QString &profile, const QHash<QStri
m_ui->setupUi(this);

QStandardItemModel *gesturesModel(new QStandardItemModel(this));
const QVector<QPair<GesturesManager::GesturesContext, QString> > contexts({{GesturesManager::GesturesContext::GenericContext, tr("Generic")}, {GesturesManager::GesturesContext::LinkContext, tr("Link")}, {GesturesManager::GesturesContext::ContentEditableContext, tr("Editable Content")}, {GesturesManager::GesturesContext::TabHandleContext, tr("Tab Handle")}, {GesturesManager::GesturesContext::ActiveTabHandleContext, tr("Tab Handle of Active Tab")}, {GesturesManager::GesturesContext::NoTabHandleContext, tr("Empty Area of Tab Bar")}, {GesturesManager::GesturesContext::ToolBarContext, tr("Any Toolbar")}});
const QVector<QPair<GesturesManager::GesturesContext, QString> > contexts({{GesturesManager::GenericContext, tr("Generic")}, {GesturesManager::LinkContext, tr("Link")}, {GesturesManager::ContentEditableContext, tr("Editable Content")}, {GesturesManager::TabHandleContext, tr("Tab Handle")}, {GesturesManager::ActiveTabHandleContext, tr("Tab Handle of Active Tab")}, {GesturesManager::NoTabHandleContext, tr("Empty Area of Tab Bar")}, {GesturesManager::ToolBarContext, tr("Any Toolbar")}});

for (int i = 0; i < contexts.count(); ++i)
{
Expand Down

0 comments on commit edd2de0

Please sign in to comment.