Gui: modernize C++11
* use nullptr
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user