MCPcopy Create free account
hub / github.com/TheAssassin/AppImageLauncher / handleButtonClicked

Method handleButtonClicked

src/ui/first-run.cpp:45–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 void handleButtonClicked(QAbstractButton* button) {
46 if (button == firstRunDialog->buttonBox->button(QDialogButtonBox::RestoreDefaults)) {
47 qDebug() << "restore defaults";
48 resetDefaults();
49 } else if (button == firstRunDialog->buttonBox->button(QDialogButtonBox::Help)) {
50 qDebug() << "help";
51 QDesktopServices::openUrl(QUrl("https://github.com/TheAssassin/AppImageLauncher/wiki/First-run"));
52
53 } else {
54 qDebug() << "unknown button clicked" << button;
55 }
56 }
57
58 void handleAskMoveCheckBoxStateChange(int state) {
59 qDebug() << "new ask move check box state" << state;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected