Commit e14249b1 authored by Antoni Bella Pérez's avatar Antoni Bella Pérez 🚵🏻
Browse files

Add a @title:window helper to GUI messages

parent 004eaf51
...@@ -187,7 +187,7 @@ KCardDialog::KCardDialog(KCardWidget *widget) ...@@ -187,7 +187,7 @@ KCardDialog::KCardDialog(KCardWidget *widget)
QVBoxLayout *mainLayout = new QVBoxLayout; QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout); setLayout(mainLayout);
mainLayout->addWidget(widget); mainLayout->addWidget(widget);
setWindowTitle(i18n("Card Deck Selection")); setWindowTitle(i18nc("@title:window", "Card Deck Selection"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok); QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
okButton->setDefault(true); okButton->setDefault(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment