| 544 | } |
| 545 | |
| 546 | QCommandLinkButton* GamePage::createCustomButton() |
| 547 | { |
| 548 | auto* b = new QCommandLinkButton; |
| 549 | |
| 550 | b->setText(QObject::tr("Browse...")); |
| 551 | b->setDescription(QObject::tr("The folder must contain a valid game installation")); |
| 552 | |
| 553 | QObject::connect(b, &QAbstractButton::clicked, [&] { |
| 554 | selectCustom(); |
| 555 | }); |
| 556 | |
| 557 | return b; |
| 558 | } |
| 559 | |
| 560 | void GamePage::fillList() |
| 561 | { |
nothing calls this directly
no test coverage detected