Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
qgtkintegration: whoops.. can't use nullptr, won't cast ok.
Browse files Browse the repository at this point in the history
  • Loading branch information
rburchell committed May 15, 2018
1 parent 91fd22b commit 99392d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform-plugin/qgtkintegration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ void *QGtkIntegration::nativeResourceForScreen(const QByteArray &resource, QScre
qWarning() << "Can't get root X window, GDK_BACKEND is not X11.";
}

result = reinterpret_cast<void*>(screen ? screen->root : nullptr);
result = reinterpret_cast<void*>(screen ? screen->root : 0);
#endif
} else {
qWarning() << "Unimplemented request for " << resource << " on " << screen;
Expand Down

0 comments on commit 99392d8

Please sign in to comment.