Commit 82809f1c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile against qt5.15

parent 2080f2b1
Pipeline #11461 passed with stage
in 6 minutes and 59 seconds
......@@ -29,6 +29,7 @@
#include <string>
#include <QStringList>
#include <QMap>
#include <QHash>
namespace GmlParser
{
......
......@@ -221,7 +221,7 @@ QVariant ScriptApiModel::data(const QModelIndex &index, int role) const
Qt::ItemFlags ScriptApiModel::flags(const QModelIndex &index) const
{
if (!index.isValid()) {
return 0;
return Qt::NoItemFlags;
}
return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment