mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: fix build against stock Qt4
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
2183ca2760
commit
ceba82900c
2 changed files with 3 additions and 2 deletions
|
@ -20,7 +20,8 @@
|
|||
|
||||
#include "screenpreviewwidget.h"
|
||||
|
||||
#include <QEvent>
|
||||
#include <QDropEvent>
|
||||
#include <QPaintEvent>
|
||||
#include <QPainter>
|
||||
|
||||
#include <KDebug>
|
||||
|
|
|
@ -596,7 +596,7 @@ void WebBrowser::paintInterface(QPainter *p, const QStyleOptionGraphicsItem *opt
|
|||
Q_UNUSED(option)
|
||||
Q_UNUSED(contentsRect)
|
||||
|
||||
if (!isMinimized()){
|
||||
if (!isIconified()){
|
||||
p->save();
|
||||
p->setBrush(QApplication::palette().window());
|
||||
p->setRenderHint(QPainter::Antialiasing);
|
||||
|
|
Loading…
Add table
Reference in a new issue