Gui: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 18:41:21 +01:00
parent be7e18757c
commit 1178df06b4
239 changed files with 1197 additions and 1197 deletions

View File

@@ -46,7 +46,7 @@ QListWidgetCustom::~QListWidgetCustom()
*/
void QListWidgetCustom::dragMoveEvent(QDragMoveEvent *e)
{
if (e->source() != 0) {
if (e->source() != nullptr) {
QVariant prop = this->property("OnlyAcceptFrom");
if (prop.isValid()) {
QStringList filter = prop.toStringList();