From 77b4bfb14e5cdf32d64043eac840973d9e8dbca7 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 6 Dec 2015 14:31:23 +0100 Subject: [PATCH] Cleanup string argument numbers. --- src/core/FilePath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/FilePath.cpp b/src/core/FilePath.cpp index 0a356a417..f7c4075e3 100644 --- a/src/core/FilePath.cpp +++ b/src/core/FilePath.cpp @@ -113,7 +113,7 @@ QIcon FilePath::icon(const QString& category, const QString& name, bool fromThem icon.addFile(filename, QSize(size, size)); } } - filename = QString("%1/icons/application/scalable/%3.svgz").arg(m_dataPath, combinedName); + filename = QString("%1/icons/application/scalable/%2.svgz").arg(m_dataPath, combinedName); if (QFile::exists(filename)) { icon.addFile(filename); } @@ -158,7 +158,7 @@ QIcon FilePath::onOffIcon(const QString& category, const QString& name) icon.addFile(filename, QSize(size, size), QIcon::Normal, state); } } - filename = QString("%1/icons/application/scalable/%3-%4.svgz").arg(m_dataPath, combinedName, stateName); + filename = QString("%1/icons/application/scalable/%2-%3.svgz").arg(m_dataPath, combinedName, stateName); if (QFile::exists(filename)) { icon.addFile(filename, QSize(), QIcon::Normal, state); }