Switch to cmake + vcpkg, builds on linux, windows needs verification.
Code has been modified to be portable.
This commit is contained in:
parent
c1a5ac1aad
commit
49f6619a4e
34 changed files with 678 additions and 327 deletions
|
|
@ -169,7 +169,7 @@ QVariant DatabasesTableModel::getData(const QModelIndex &index) const
|
|||
break;
|
||||
case SizeCol:
|
||||
if (d.size.totalBytes >= 0)
|
||||
v = d.size.totalBytes;
|
||||
v = QVariant::fromValue(d.size.totalBytes);
|
||||
break;
|
||||
case AclCol:
|
||||
v = db.aclString();
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ QVariant IndexModel::getData(const QModelIndex &index) const
|
|||
break;
|
||||
|
||||
case SizeCol:
|
||||
v = dat.sizeBytes;
|
||||
v = QVariant::fromValue(dat.sizeBytes);
|
||||
break;
|
||||
case ExplicitIndexCol:
|
||||
v = !dat.isSupportingIndex();
|
||||
|
|
|
|||
|
|
@ -102,12 +102,12 @@ QVariant SequenceModel::data(const QModelIndex &index, int role) const
|
|||
case NameCol: return seq.objectName();
|
||||
case SchemaCol: return seq.nsName();
|
||||
case OwnerCol: return seq.ownerName();
|
||||
case LastCol: return seq.last;
|
||||
case StartCol: return seq.start;
|
||||
case MinCol: return seq.min;
|
||||
case MaxCol: return seq.max;
|
||||
case IncrementCol: return seq.increment;
|
||||
case CacheCol: return seq.cache;
|
||||
case LastCol: return QVariant::fromValue(seq.last);
|
||||
case StartCol: return QVariant::fromValue(seq.start);
|
||||
case MinCol: return QVariant::fromValue(seq.min);
|
||||
case MaxCol: return QVariant::fromValue(seq.max);
|
||||
case IncrementCol: return QVariant::fromValue(seq.increment);
|
||||
case CacheCol: return QVariant::fromValue(seq.cache);
|
||||
case CycledCol: return seq.cycled;
|
||||
case CalledCol: return seq.called;
|
||||
case AclCol: return seq.aclString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue