Remove turntimeleft/hog gear check from smine if infinite attack is enabled. just use the flightime for that.
#include <QApplication>
#include "mainform.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyWindow *mainWin = new MyWindow;
mainWin->show();
return app.exec();
}