QmlDesigner: Fix warning about deprecated operator+

Use operator| instead.

Change-Id: Iee76ec3429f33b07c060de8d98451edd9c97a701
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2024-07-26 09:22:55 +02:00
parent bbed189656
commit f64440e4b8

View File

@@ -188,7 +188,7 @@ MaterialBrowserWidget::MaterialBrowserWidget(AsynchronousImageCache &imageCache,
setStyleSheet(Theme::replaceCssColors(
QString::fromUtf8(Utils::FileReader::fetchQrc(":/qmldesigner/stylesheet.css"))));
m_qmlSourceUpdateShortcut = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_F8), this);
m_qmlSourceUpdateShortcut = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_F8), this);
connect(m_qmlSourceUpdateShortcut, &QShortcut::activated, this, &MaterialBrowserWidget::reloadQmlSource);
connect(m_materialBrowserModel, &MaterialBrowserModel::isEmptyChanged, this, [&] {