modernize: Use nullptr
[quassel.git] / src / qtui / webpreviewitem.cpp
index 37b5fa7..06c0488 100644 (file)
@@ -58,7 +58,7 @@ public:
 #endif
 
 WebPreviewItem::WebPreviewItem(const QUrl &url)
-    : QGraphicsItem(0), // needs to be a top level item as we otherwise cannot guarantee that it's on top of other chatlines
+    : QGraphicsItem(nullptr), // needs to be a top level item as we otherwise cannot guarantee that it's on top of other chatlines
     _boundingRect(0, 0, 400, 300)
 {
     qreal frameWidth = 5;