Browse Source
Merge pull request #2493 from lioncash/translate
yuzu/applets/profile_select: Mark header string as translatable
pull/15/merge
Sebastian Valle
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/yuzu/applets/profile_select.cpp
|
|
|
@ -84,10 +84,10 @@ QtProfileSelectionDialog::QtProfileSelectionDialog(QWidget* parent) |
|
|
|
tree_view->setContextMenuPolicy(Qt::NoContextMenu); |
|
|
|
|
|
|
|
item_model->insertColumns(0, 1); |
|
|
|
item_model->setHeaderData(0, Qt::Horizontal, "Users"); |
|
|
|
item_model->setHeaderData(0, Qt::Horizontal, tr("Users")); |
|
|
|
|
|
|
|
// We must register all custom types with the Qt Automoc system so that we are able to use it
|
|
|
|
// with signals/slots. In this case, QList falls under the umbrells of custom types.
|
|
|
|
// with signals/slots. In this case, QList falls under the umbrella of custom types.
|
|
|
|
qRegisterMetaType<QList<QStandardItem*>>("QList<QStandardItem*>"); |
|
|
|
|
|
|
|
layout->setContentsMargins(0, 0, 0, 0); |
|
|
|
|