diff options
author | Sergio Martins <sergio.martins@kdab.com> | 2015-07-19 18:31:17 +0100 |
---|---|---|
committer | Sérgio Martins <sergio.martins@kdab.com> | 2015-07-22 18:57:31 +0000 |
commit | 6d679c4d2e376728180e579fb084f216a84028eb (patch) | |
tree | d164fb370bcc4ca142dbef92c9f80aa0fa1b61c6 /src/controls/Private/qquickcontrolsettings.cpp | |
parent | 34acf65f27578e819356eda48e7c597850d06fd6 (diff) | |
download | qtquickcontrols-6d679c4d2e376728180e579fb084f216a84028eb.tar.gz |
Pass non-trivially-copyable or large types by const-ref
Change-Id: I38af4720b916731451cb28aee0d16eed097d3350
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'src/controls/Private/qquickcontrolsettings.cpp')
-rw-r--r-- | src/controls/Private/qquickcontrolsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/qquickcontrolsettings.cpp b/src/controls/Private/qquickcontrolsettings.cpp index d683ddf0..faebdaaf 100644 --- a/src/controls/Private/qquickcontrolsettings.cpp +++ b/src/controls/Private/qquickcontrolsettings.cpp @@ -111,7 +111,7 @@ QString QQuickControlSettings::makeStyleComponentPath(const QString &controlStyl return styleDirPath + QStringLiteral("/") + controlStyleName; } -QUrl QQuickControlSettings::makeStyleComponentUrl(const QString &controlStyleName, QString styleDirPath) +QUrl QQuickControlSettings::makeStyleComponentUrl(const QString &controlStyleName, const QString &styleDirPath) { QString styleFilePath = makeStyleComponentPath(controlStyleName, styleDirPath); |