Add icon to oracle

This commit is contained in:
Fabio Bas
2014-08-07 17:27:15 +02:00
parent ef1fbc0db9
commit 40e9735678
9 changed files with 265 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
#include <QApplication>
#include <QTextCodec>
#include <QIcon>
#include "oraclewizard.h"
#include "settingscache.h"
@@ -18,10 +19,14 @@ int main(int argc, char *argv[])
QCoreApplication::setOrganizationDomain("cockatrice");
// this can't be changed, as it influences the default savepath for cards.xml
QCoreApplication::setApplicationName("Cockatrice");
settingsCache = new SettingsCache;
OracleWizard wizard;
QIcon icon(":/resources/appicon.svg");
wizard.setWindowIcon(icon);
wizard.show();
return app.exec();