diff --git a/src/app/main.cpp b/src/app/main.cpp index 996e4b6..0dfe75f 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -1,14 +1,24 @@ #include -#include + +#include "MainWindow.hpp" int main (int argc, char* argv[]) { QApplication Ensemble(argc, argv); + /* Ignore color schemes and styles of the operating system. */ + QApplication::setStyle("fusion"); + QApplication::setDesktopSettingsAware(false); + QCoreApplication::setApplicationName("Ensemble"); QCoreApplication::setApplicationVersion("0.1"); - QMainWindow main_window {}; + /* Build the main window of the application. */ + MainWindow main_window; + + /* Disable window frame and title bar. */ + main_window.setWindowFlags(Qt::Window | Qt::FramelessWindowHint); + main_window.show(); return Ensemble.exec();