Qt5: fix deprecation warnings for Qt 5.15

+ replace QDirModel with QFileSystemModel
+ QProcess::start(QString, OpenMode) is deprecated
+ QByteArray::append is deprecated
+ QPixmap* QLabel::pixmap() is deprecated
This commit is contained in:
wmayer
2020-10-15 16:50:11 +02:00
parent 3430adda72
commit 9c72532f5d
9 changed files with 28 additions and 16 deletions

View File

@@ -263,7 +263,7 @@ public:
boost::starts_with(msg.pSubName,editSub))
{
for(auto item : ui->elementList->findItems(
QString::fromLatin1(msg.pSubName-editSub.size()),0))
QString::fromLatin1(msg.pSubName-editSub.size()), Qt::MatchExactly))
item->setSelected(msg.Type==SelectionChanges::AddSelection);
}
}