diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-06-07 22:37:19 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-06-08 12:07:33 +0200 |
commit | c1b6293728b062a37a65d9f2bde16e750f0952a1 (patch) | |
tree | 721958e72c00d22dce251ddaa5f2eea28502373e /src/render/frontend | |
parent | f0514d4096651b2d798d07989152a4ca74780e94 (diff) |
Fix a QString::arg() placeholder
A placeholder was accidentally repeated, causing warnings
(and wrong debug output).
Change-Id: I2c09a538bf1a4b39e926fa9a8d1e6d991f524e01
Pick-to: 5.15
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/frontend')
-rw-r--r-- | src/render/frontend/qrendercapabilities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/frontend/qrendercapabilities.cpp b/src/render/frontend/qrendercapabilities.cpp index 885c43bc2..3ef0ba01d 100644 --- a/src/render/frontend/qrendercapabilities.cpp +++ b/src/render/frontend/qrendercapabilities.cpp @@ -232,7 +232,7 @@ QString QRenderCapabilitiesPrivate::toString() const res += QString(QLatin1String(" Max Image Units: %1\n")).arg(m_maxImageUnits); res += QString(QLatin1String("Supports Compute Shaders: %1\n")).arg(m_supportCompute ? QLatin1String("True") : QLatin1String("False")); if (m_supportCompute) - res += QString(QLatin1String(" Max Work Group Size: %1, %2, %3\n Max Work Group Count: %4, %5, %6\n Max Invocations: %6\n Max Shared Memory Size: %7\n")) + res += QString(QLatin1String(" Max Work Group Size: %1, %2, %3\n Max Work Group Count: %4, %5, %6\n Max Invocations: %7\n Max Shared Memory Size: %8\n")) .arg(m_maxWorkGroupSize[0]).arg(m_maxWorkGroupSize[1]).arg(m_maxWorkGroupSize[2]) .arg(m_maxWorkGroupCount[0]).arg(m_maxWorkGroupCount[1]).arg(m_maxWorkGroupCount[2]) .arg(m_maxComputeInvocations).arg(m_maxComputeSharedMemorySize); |