Closed janclod closed 1 year ago
We load file directly from memory without copying it. I would suggest refactor the whole resource handling like this.
QResource artWork1 { ":/276813041_drakkar__dragon__realistic__flying__paper__rock__scissors__RGB__3.png" }; m_artwork_1.loadFromMemory(artWork1.data(), artWork1.size());
Probably safe to load from memory according to this.
We load file directly from memory without copying it. I would suggest refactor the whole resource handling like this.
Probably safe to load from memory according to this.