mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
Fixed main chat room lag
This commit is contained in:
parent
19e86c61f0
commit
06accd519c
4 changed files with 737 additions and 131 deletions
|
|
@ -54,4 +54,12 @@ public:
|
|||
static void clear() { pmCache.clear(); }
|
||||
};
|
||||
|
||||
class LockPixmapGenerator {
|
||||
private:
|
||||
static QMap<int, QPixmap> pmCache;
|
||||
public:
|
||||
static QPixmap generatePixmap(int height);
|
||||
static void clear() { pmCache.clear(); }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue