MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / createCustomButton

Method createCustomButton

src/createinstancedialogpages.cpp:546–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546QCommandLinkButton* 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
560void GamePage::fillList()
561{

Callers

nothing calls this directly

Calls 2

setDescriptionMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected