CardOverview::~CardOverview() { #ifdef USE_CRYPTO Crypto cry; QResource::unregisterResource(cry.getEncryptedFile("image/big-card.dat")); #endif delete ui; }
CardOverview *CardOverview::GetInstance(QWidget *main_window){ if(Overview == NULL) Overview = new CardOverview(main_window); #ifdef USE_CRYPTO Crypto cry; QResource::registerResource(cry.getEncryptedFile("image/big-card.dat")); #endif return Overview; }