We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68332b0 commit dd6c20dCopy full SHA for dd6c20d
SerialPrograms/Source/CommonFramework/Startup/NewVersionCheck.cpp
@@ -145,6 +145,9 @@ void show_update_box(
145
QMessageBox box;
146
QPushButton* ok = box.addButton(QMessageBox::Ok);
147
QPushButton* skip = box.addButton("Skip this Version", QMessageBox::NoRole);
148
+ box.setEscapeButton(ok);
149
+// cout << "ok = " << ok << endl;
150
+// cout << "skip = " << skip << endl;
151
152
box.setTextFormat(Qt::RichText);
153
std::string text = header + "<br>";
@@ -160,6 +163,7 @@ void show_update_box(
160
163
box.exec();
161
164
162
165
QAbstractButton* clicked = box.clickedButton();
166
+// cout << "clicked = " << clicked << endl;
167
if (clicked == ok){
168
return;
169
}
0 commit comments