| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected