summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/FlowLayout.cpp')
-rw-r--r--Swift/QtUI/FlowLayout.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Swift/QtUI/FlowLayout.cpp b/Swift/QtUI/FlowLayout.cpp
index c42b7e1..8a12841 100644
--- a/Swift/QtUI/FlowLayout.cpp
+++ b/Swift/QtUI/FlowLayout.cpp
@@ -51,3 +51,2 @@
#include <QtWidgets>
-
#include "FlowLayout.h"
@@ -110,3 +109,3 @@ QLayoutItem *FlowLayout::takeAt(int index)
else
- return 0;
+ return nullptr;
}
@@ -115,3 +114,3 @@ Qt::Orientations FlowLayout::expandingDirections() const
{
- return 0;
+ return nullptr;
}
@@ -194,3 +193,3 @@ int FlowLayout::smartSpacing(QStyle::PixelMetric pm) const
QWidget *pw = static_cast<QWidget *>(parent);
- return pw->style()->pixelMetric(pm, 0, pw);
+ return pw->style()->pixelMetric(pm, nullptr, pw);
} else {