circuit-logic-simulator/main.cpp

14 lines
258 B
C++
Raw Normal View History

2020-03-24 20:18:39 +01:00
#include "MainWindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QString loadFile;
if(argc >= 2)
loadFile = argv[1];
MainWindow w(nullptr, loadFile);
w.show();
return a.exec();
}