projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use nullptr
[quassel.git]
/
src
/
qtui
/
webpreviewitem.h
diff --git
a/src/qtui/webpreviewitem.h
b/src/qtui/webpreviewitem.h
index
1ad2e85
..
925d7d0
100644
(file)
--- a/
src/qtui/webpreviewitem.h
+++ b/
src/qtui/webpreviewitem.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
5
by the Quassel Project *
+ * Copyright (C) 2005-201
8
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-21,7
+21,7
@@
#ifndef WEBPREVIEWITEM_H
#define WEBPREVIEWITEM_H
#ifndef WEBPREVIEWITEM_H
#define WEBPREVIEWITEM_H
-#if
def HAVE_WEBKIT
+#if
defined HAVE_WEBKIT || defined HAVE_WEBENGINE
#include <QGraphicsItem>
#include <QGraphicsItem>
@@
-29,7
+29,7
@@
class WebPreviewItem : public QGraphicsItem
{
public:
WebPreviewItem(const QUrl &url);
{
public:
WebPreviewItem(const QUrl &url);
- virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget =
0
);
+ virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget =
nullptr
);
virtual inline QRectF boundingRect() const { return _boundingRect; }
private:
virtual inline QRectF boundingRect() const { return _boundingRect; }
private:
@@
-37,6
+37,6
@@
private:
};
};
-#endif //#ifdef HAVE_WEBKIT
+#endif //#ifdef HAVE_WEBKIT
|| HAVE_WEBENGINE
#endif //WEBPREVIEWITEM_H
#endif //WEBPREVIEWITEM_H