mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
minor cleanup
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
e355808024
commit
29c8c34392
2 changed files with 2 additions and 4 deletions
|
@ -1398,8 +1398,7 @@ public:
|
|||
Widget = 1,
|
||||
Pixmap = 2,
|
||||
Image = 3,
|
||||
Printer = 4,
|
||||
CustomRaster = 5
|
||||
Printer = 4
|
||||
};
|
||||
|
||||
enum Callback {
|
||||
|
|
|
@ -311,8 +311,7 @@ bool QRasterPaintEngine::begin(QPaintDevice *device)
|
|||
// Make sure QPaintEngine::paintDevice() returns the proper device.
|
||||
d->pdev = d->device;
|
||||
|
||||
Q_ASSERT(d->device->devType() == QInternal::Image
|
||||
|| d->device->devType() == QInternal::CustomRaster);
|
||||
Q_ASSERT(d->device->devType() == QInternal::Image);
|
||||
|
||||
d->systemStateChanged();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue