mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42: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,
|
Widget = 1,
|
||||||
Pixmap = 2,
|
Pixmap = 2,
|
||||||
Image = 3,
|
Image = 3,
|
||||||
Printer = 4,
|
Printer = 4
|
||||||
CustomRaster = 5
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enum Callback {
|
enum Callback {
|
||||||
|
|
|
@ -311,8 +311,7 @@ bool QRasterPaintEngine::begin(QPaintDevice *device)
|
||||||
// Make sure QPaintEngine::paintDevice() returns the proper device.
|
// Make sure QPaintEngine::paintDevice() returns the proper device.
|
||||||
d->pdev = d->device;
|
d->pdev = d->device;
|
||||||
|
|
||||||
Q_ASSERT(d->device->devType() == QInternal::Image
|
Q_ASSERT(d->device->devType() == QInternal::Image);
|
||||||
|| d->device->devType() == QInternal::CustomRaster);
|
|
||||||
|
|
||||||
d->systemStateChanged();
|
d->systemStateChanged();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue