mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
4d39f652bf
bugs.vcmi.eu/view.php?id=2369
14 lines
300 B
C++
14 lines
300 B
C++
#include <QApplication>
|
|
#include "StdInc.h"
|
|
#include "mainwindow_moc.h"
|
|
#include "sdldisplayquery.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication vcmilauncher(argc, argv);
|
|
auto displayList = getDisplays();
|
|
MainWindow mainWindow(displayList);
|
|
mainWindow.show();
|
|
return vcmilauncher.exec();
|
|
}
|