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
|
|
@ -151,7 +151,7 @@ quint32 AbstractSshPacket::minPacketSize() const
|
|||
void AbstractSshPacket::setLengthField(QByteArray &data)
|
||||
{
|
||||
const quint32 length = qToBigEndian(data.size() - 4);
|
||||
data.replace(0, 4, reinterpret_cast<const char *>(&length), 4);
|
||||
data.replace(qsizetype(0), 4, reinterpret_cast<const char *>(&length), 4);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ SshX11InfoRetriever::SshX11InfoRetriever(const QString &displayName, QObject *pa
|
|||
return;
|
||||
}
|
||||
if (dotIndex != -1) {
|
||||
displayInfo.screen = m_displayName.midRef(dotIndex + 1).toInt(&ok);
|
||||
displayInfo.screen = m_displayName.mid(dotIndex + 1).toInt(&ok);
|
||||
if (!ok) {
|
||||
emitFailure(tr("Invalid display name \"%1\"").arg(m_displayName));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue