main.cpp 322 B

123456789101112131415161718
  1. #include "legacyapplication.h"
  2. // Global. Should be updated only by MainWindow!!!
  3. double window_height = 1000;
  4. double window_width = 648;
  5. int main(int argc, char *argv[])
  6. {
  7. setlocale(LC_ALL,"Russian");
  8. LegacyApplication app(argc, argv);
  9. if (!app.init()) {
  10. return 1;
  11. }
  12. return app.exec();
  13. }