Compare commits

..

No commits in common. 'c9582213824fbf5e523be33de3e34e3fd128cb80' and '9ccec44eb0ed161ed5269208a39919a4ea2a08de' have entirely different histories.

  1. BIN
      icons/app_icon.ico
  2. 1
      icons/icons.qrc
  3. 8
      src/main.cpp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

@ -6,6 +6,5 @@
<file>pause.svg</file> <file>pause.svg</file>
<file>play.svg</file> <file>play.svg</file>
<file>refresh.svg</file> <file>refresh.svg</file>
<file>app_icon.ico</file>
</qresource> </qresource>
</RCC> </RCC>

@ -1,7 +1,11 @@
#include <QApplication> #include <QApplication>
#include <QSurfaceFormat> #include <QSurfaceFormat>
#include "MainWindow.h" #include "MainWindow.h"
#include <QIcon> #include <omp.h>
#include <chrono>
#include <iostream>
using namespace std::chrono;
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
QSurfaceFormat fmt = QSurfaceFormat::defaultFormat(); QSurfaceFormat fmt = QSurfaceFormat::defaultFormat();
@ -15,8 +19,6 @@ int main(int argc, char* argv[]) {
QApplication app(argc, argv); QApplication app(argc, argv);
MainWindow w; MainWindow w;
w.setWindowTitle("Pendulum Laboratory");
w.setWindowIcon(QIcon(":/icons/app_icon.ico"));
w.show(); w.show();
return QApplication::exec(); return QApplication::exec();

Loading…
Cancel
Save