forked from qt-creator/qt-creator
QmlDesigner: Fix warning about deprecated operator+
Use operator| instead. Change-Id: Iee76ec3429f33b07c060de8d98451edd9c97a701 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -188,7 +188,7 @@ MaterialBrowserWidget::MaterialBrowserWidget(AsynchronousImageCache &imageCache,
|
|||||||
setStyleSheet(Theme::replaceCssColors(
|
setStyleSheet(Theme::replaceCssColors(
|
||||||
QString::fromUtf8(Utils::FileReader::fetchQrc(":/qmldesigner/stylesheet.css"))));
|
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_qmlSourceUpdateShortcut, &QShortcut::activated, this, &MaterialBrowserWidget::reloadQmlSource);
|
||||||
|
|
||||||
connect(m_materialBrowserModel, &MaterialBrowserModel::isEmptyChanged, this, [&] {
|
connect(m_materialBrowserModel, &MaterialBrowserModel::isEmptyChanged, this, [&] {
|
||||||
|
Reference in New Issue
Block a user