mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
new zone view code
This commit is contained in:
parent
ad3f4ba9e8
commit
26a77d9e40
27 changed files with 474 additions and 397 deletions
|
|
@ -32,12 +32,14 @@
|
|||
#include "window_main.h"
|
||||
#include "carddatabase.h"
|
||||
#include "settingscache.h"
|
||||
#include "pingpixmapgenerator.h"
|
||||
|
||||
//Q_IMPORT_PLUGIN(qjpeg)
|
||||
|
||||
CardDatabase *db;
|
||||
QTranslator *translator;
|
||||
SettingsCache *settingsCache;
|
||||
PingPixmapGenerator *pingPixmapGenerator;
|
||||
|
||||
void myMessageOutput(QtMsgType /*type*/, const char *msg)
|
||||
{
|
||||
|
|
@ -61,6 +63,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
settingsCache = new SettingsCache;
|
||||
db = new CardDatabase;
|
||||
pingPixmapGenerator = new PingPixmapGenerator;
|
||||
|
||||
QString localeName;// = QLocale::system().name();
|
||||
QTranslator qtTranslator;
|
||||
|
|
@ -88,6 +91,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
int retval = app.exec();
|
||||
|
||||
delete pingPixmapGenerator;
|
||||
delete db;
|
||||
delete settingsCache;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue