summaryrefslogtreecommitdiff
path: root/src/qdbus
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-03-18 14:27:27 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-03-18 14:27:27 +0100
commitd9a3e03934076aea8852f1c4b142a5ecfeea0297 (patch)
tree6832178b5dddb8bf4dc61590265a638133f8bcfd /src/qdbus
parent4c0ba237eabf66e028459e86620c448c4e21760a (diff)
parent64221433d7a82955b111e20178c9527cb0373914 (diff)
downloadqttools-d9a3e03934076aea8852f1c4b142a5ecfeea0297.tar.gz
Merge remote-tracking branch 'origin/dev' into wip/cmake
Conflicts: dependencies.yaml Change-Id: Ia86822a3b64be4e17d525f6b055eadfab7215bc8
Diffstat (limited to 'src/qdbus')
-rw-r--r--src/qdbus/qdbusviewer/mainwindow.cpp4
-rw-r--r--src/qdbus/qdbusviewer/qdbusmodel.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/qdbus/qdbusviewer/mainwindow.cpp b/src/qdbus/qdbusviewer/mainwindow.cpp
index ed0f882c9..37a2ef783 100644
--- a/src/qdbus/qdbusviewer/mainwindow.cpp
+++ b/src/qdbus/qdbusviewer/mainwindow.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies).
+** Copyright (C) 2020 The Qt Company Ltd and/or its subsidiary(-ies).
** Contact: https://www.qt.io/licensing/
**
** This file is part of the tools applications of the Qt Toolkit.
@@ -90,7 +90,7 @@ void MainWindow::about()
"<h3>%1</h3>"
"<p>Version %2</p></center>"
"<p>Copyright (C) %3 The Qt Company Ltd.</p>")
- .arg(tr("D-Bus Viewer"), QLatin1String(QT_VERSION_STR), QStringLiteral("2019")));
+ .arg(tr("D-Bus Viewer"), QLatin1String(QT_VERSION_STR), QStringLiteral("2020")));
box.setWindowTitle(tr("D-Bus Viewer"));
box.exec();
}
diff --git a/src/qdbus/qdbusviewer/qdbusmodel.cpp b/src/qdbus/qdbusviewer/qdbusmodel.cpp
index 79239b264..1e1e4f9fc 100644
--- a/src/qdbus/qdbusviewer/qdbusmodel.cpp
+++ b/src/qdbus/qdbusviewer/qdbusmodel.cpp
@@ -305,7 +305,7 @@ QString QDBusModel::dBusTypeSignature(const QModelIndex &index) const
QModelIndex QDBusModel::findObject(const QDBusObjectPath &objectPath)
{
- QStringList path = objectPath.path().split(QLatin1Char('/'), QString::SkipEmptyParts);
+ QStringList path = objectPath.path().split(QLatin1Char('/'), Qt::SkipEmptyParts);
QDBusItem *item = root;
int childIdx = -1;