[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra/calligra/2.9] krita/ui: Remove some obsolete asserts
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2015-03-25 21:27:21
Message-ID: E1Yaspd-0003mW-9v () scm ! kde ! org
[Download RAW message or body]
Git commit 49d4d0a33f732af07da0cc6a5d757ac5d5e408be by Boudewijn Rempt.
Committed on 25/03/2015 at 20:28.
Pushed by rempt into branch 'calligra/2.9'.
Remove some obsolete asserts
M +1 -3 krita/ui/kis_cursor.cc
http://commits.kde.org/calligra/49d4d0a33f732af07da0cc6a5d757ac5d5e408be
diff --git a/krita/ui/kis_cursor.cc b/krita/ui/kis_cursor.cc
index 1054a72..7524404 100644
--- a/krita/ui/kis_cursor.cc
+++ b/krita/ui/kis_cursor.cc
@@ -402,9 +402,7 @@ QCursor KisCursor::load(const QString & iconName, int hotspotX, int hotspotY)
QImage cursorImage;
cursorImage.load(filename);
- Q_ASSERT(!cursorImage.isNull());
- Q_ASSERT(cursorImage.hasAlphaChannel());
-
+\
#ifdef Q_WS_WIN
// cursor width must be multiple of 16 on Windows
int bitmapWidth = qCeil(cursorImage.width() / 16.0) * 16;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic