Fixed build process.
This commit is contained in:
15
main.cpp
15
main.cpp
@@ -31,6 +31,7 @@
|
||||
|
||||
|
||||
#include <QApplication>
|
||||
#include <QSysInfo>
|
||||
#include <QFile>
|
||||
#include <QDebug>
|
||||
|
||||
@@ -45,9 +46,19 @@ int main(int argc, char *argv[])
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
BCMainWindow mainWindow;
|
||||
|
||||
if (QSysInfo::machineHostName() == "BionxControl")
|
||||
{
|
||||
mainWindow.setWindowFlags(Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
|
||||
mainWindow.showFullScreen();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Normaler Fenster-Modus (z. B. für die Entwicklung auf dem Desktop)
|
||||
mainWindow.show();
|
||||
}
|
||||
|
||||
BCMainWindow w;
|
||||
w.show();
|
||||
|
||||
return app.exec();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user