summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp')
-rw-r--r--examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp b/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp
index 78de338f1f..81daa9bb96 100644
--- a/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp
+++ b/examples/vulkan/hellovulkanwidget/hellovulkanwidget.cpp
@@ -170,8 +170,7 @@ void VulkanRenderer::initResources()
m_window->colorFormat(), m_window->depthStencilFormat());
info += QStringLiteral("Supported sample counts:");
- QList<int> sampleCounts = m_window->supportedSampleCounts().toList();
- std::sort(sampleCounts.begin(), sampleCounts.end());
+ const QVector<int> sampleCounts = m_window->supportedSampleCounts();
for (int count : sampleCounts)
info += QLatin1Char(' ') + QString::number(count);
info += QLatin1Char('\n');