Commit e0240f74 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove some obsolete asserts

parent ae0c978e
...@@ -402,9 +402,7 @@ QCursor KisCursor::load(const QString & iconName, int hotspotX, int hotspotY) ...@@ -402,9 +402,7 @@ QCursor KisCursor::load(const QString & iconName, int hotspotX, int hotspotY)
QImage cursorImage; QImage cursorImage;
cursorImage.load(filename); cursorImage.load(filename);
Q_ASSERT(!cursorImage.isNull()); \
Q_ASSERT(cursorImage.hasAlphaChannel());
#ifdef Q_WS_WIN #ifdef Q_WS_WIN
// cursor width must be multiple of 16 on Windows // cursor width must be multiple of 16 on Windows
int bitmapWidth = qCeil(cursorImage.width() / 16.0) * 16; int bitmapWidth = qCeil(cursorImage.width() / 16.0) * 16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment