added spicy new segfaults

This commit is contained in:
fourtf
2017-01-11 01:08:20 +01:00
parent a8c2b1151f
commit 580a411e9d
22 changed files with 472 additions and 111 deletions
+15 -1
View File
@@ -25,8 +25,22 @@ public:
bool animated() const { return m_animated; }
bool isHat() const { return m_ishat; }
const long width() const {
if (m_image == NULL) {
return 16;
}
return m_image->width();
}
const long height() const {
if (m_image == NULL) {
return 16;
}
return m_image->height();
}
private:
QImage* m_image = NULL;
QImage* m_image;
qreal m_scale;
QString m_url;