Remove old Coin code <=3

ubuntu 22.04 use libcoin v 4. https://launchpad.net/ubuntu/jammy/+package/libcoin-dev
This commit is contained in:
Andrea
2025-03-28 18:34:11 +01:00
committed by Benjamin Nauck
parent db8b58f73e
commit 2f5f8f32e7
5 changed files with 0 additions and 78 deletions

View File

@@ -454,11 +454,7 @@ GraphicsScene::setNavigationModeFile(const QUrl & url)
QFile file(QString::fromLatin1(filenametmp));
if (file.open(QIODevice::ReadOnly)) {
QByteArray fileContents = file.readAll();
#if COIN_MAJOR_VERSION >= 4
stateMachine = ScXML::readBuffer(SbByteBuffer(fileContents.size(), fileContents.constData()));
#else
stateMachine = ScXML::readBuffer(fileContents.constData());
#endif
file.close();
}
}