fix: error: no declaration matches ‘void SnigdhaOSAssistant::on_textWidget_buttonBox_clicked()

This commit is contained in:
Eshan Roy (Eshanized)
2024-04-30 23:53:53 +05:30
parent 54d4f01f83
commit db1a7a29fa

View File

@@ -342,7 +342,7 @@ void SnigdhaOSAssistant::relaunchSelf(QString param){
updateState(param); updateState(param);
} }
void SnigdhaOSAssistant::on_textWidget_buttonBox_clicked(){ void SnigdhaOSAssistant::on_textWidget_buttonBox_clicked(QAbstractButton* button){
switch (currentState) { switch (currentState) {
case State::WELCOME: case State::WELCOME:
if (ui->textWidget_buttonBox->standardButton(button) == QDialogButtonBox::Ok) { if (ui->textWidget_buttonBox->standardButton(button) == QDialogButtonBox::Ok) {