MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / pageCast

Function pageCast

launcher/ui/dialogs/InstallLoaderDialog.cpp:84–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82};
83
84static InstallLoaderPage* pageCast(BasePage* page)
85{
86 auto result = dynamic_cast<InstallLoaderPage*>(page);
87 Q_ASSERT(result != nullptr);
88 return result;
89}
90
91InstallLoaderDialog::InstallLoaderDialog(std::shared_ptr<PackProfile> profile, const QString& uid, QWidget* parent)
92 : QDialog(parent), profile(std::move(profile)), container(new PageContainer(this, QString(), this)), buttons(new QDialogButtonBox(this))

Callers 3

InstallLoaderDialogMethod · 0.70
validateMethod · 0.70
doneMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected