From f86d0e697aa9d07ad3118f777bc7228ef12e2027 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 5 Jun 2020 19:42:37 -0500 Subject: [PATCH] [nostalgia/studio] Replace deprecated call for Qt 5.15 --- src/nostalgia/studio/oxfstreeview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/studio/oxfstreeview.cpp b/src/nostalgia/studio/oxfstreeview.cpp index d2b86635..15a69391 100644 --- a/src/nostalgia/studio/oxfstreeview.cpp +++ b/src/nostalgia/studio/oxfstreeview.cpp @@ -143,7 +143,7 @@ QVariant OxFSModel::data(const QModelIndex &index, int role) const { Qt::ItemFlags OxFSModel::flags(const QModelIndex &index) const { if (!index.isValid()) { - return 0; + return {}; } else { return QAbstractItemModel::flags(index); }