Commit f41de614 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Fixed error when starting rt_xtt_qt without rt_ini.

parent d88dc0e5
......@@ -580,6 +580,10 @@ void XttQtWidget::closeEvent(QCloseEvent* event)
XttQt::XttQt(int argc, char* argv[], int* return_sts)
: Xtt(&argc, &argv, return_sts)
{
if (EVEN(*return_sts)) { // Set by the Xtt() constructor
exit(*return_sts);
}
const int window_width = 400;
const int window_height = 700;
pwr_tStatus sts;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment