migrated the codebase to Qt6 and fixed some compatibility issues
* used a Qt6 ported version of SortFilterProxyModel * used an updated Qt6 compatible version of QXZing * added a flag to windows linker to avoid WinMain problem of MSVCRTD * renamed utils.cpp to utilities.cpp for avoiding confusion with the same file name in SortFilterProxyModel
This commit is contained in:
parent
050d987d3b
commit
8c20a67cfa
140 changed files with 5924 additions and 214 deletions
|
|
@ -87,12 +87,12 @@ QStringList TapController::getTapList()
|
|||
return QStringList();
|
||||
}
|
||||
|
||||
QStringList l = output.split("\n", QString::SkipEmptyParts);
|
||||
QStringList l = output.split("\n", Qt::SkipEmptyParts);
|
||||
if (l.size() > 0) l.removeLast();
|
||||
|
||||
QStringList tapList;
|
||||
for (QString s : l) {
|
||||
if (s.contains(" ")) tapList.append(s.split(" ", QString::SkipEmptyParts).first());
|
||||
if (s.contains(" ")) tapList.append(s.split(" ", Qt::SkipEmptyParts).first());
|
||||
else tapList.append(s);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue