Skip to content
Snippets Groups Projects
Commit 35959a12 authored by Mohammad Mahadi Hasan's avatar Mohammad Mahadi Hasan
Browse files

added splash image

parent 60e1ec67
No related branches found
No related tags found
No related merge requests found
......@@ -4,17 +4,22 @@
#include <QApplication>
#include <QDebug>
#include <iostream>
#include <QSplashScreen>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QPixmap pixmap(":/images/BornAgain.ico");
QSplashScreen splash(pixmap.scaled(500,500,Qt::KeepAspectRatio));
splash.show();
a.processEvents();
MainWindow w;
w.show();
splash.finish(&w);
//#ifdef BORNAGAIN_CRASHHANDLER
// std::cout << "BORNAGAIN_CRASHHANDLER" << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment