mirror of
https://notabug.org/Sages-of-Gensokyo/gensokyo_kappa-overlay
synced 2025-01-19 09:11:14 +01:00
13 lines
558 B
Diff
13 lines
558 B
Diff
|
diff -ruN libqtlua-2.1/src/qtluatabletreemodel.cc libqtlua-2.1-new/src/qtluatabletreemodel.cc
|
||
|
--- libqtlua-2.1/src/qtluatabletreemodel.cc 2013-03-18 00:14:27.000000000 +0100
|
||
|
+++ libqtlua-2.1-new/src/qtluatabletreemodel.cc 2019-11-25 21:02:09.424920320 +0100
|
||
|
@@ -223,7 +223,7 @@
|
||
|
|
||
|
TableTreeKeys *t = static_cast<TableTreeKeys*>(index.internalPointer());
|
||
|
|
||
|
- Qt::ItemFlags res = (Qt::ItemFlag)(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
|
||
|
+ QFlags<Qt::ItemFlag> res = Qt::ItemIsEnabled | Qt::ItemIsSelectable;
|
||
|
|
||
|
if (t->_attr & Editable)
|
||
|
{
|