From 94d046579cbd65e04aac4e2765b44f6f2a50dcd7 Mon Sep 17 00:00:00 2001 From: Yuri Gorshenin Date: Thu, 27 Apr 2017 20:33:23 +0300 Subject: [PATCH] Review fixes. --- qt/qt_common/spinner.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qt/qt_common/spinner.cpp b/qt/qt_common/spinner.cpp index 6c5d63d2a0..52d868614e 100644 --- a/qt/qt_common/spinner.cpp +++ b/qt/qt_common/spinner.cpp @@ -1,7 +1,5 @@ #include "qt/qt_common/spinner.hpp" -#include - #include #include #include @@ -17,8 +15,8 @@ Spinner::Spinner() { for (int i = kMinSpinnerPixmap; i <= kMaxSpinnerPixmap; ++i) { - auto const path = ":common/spinner" + std::to_string(i) + ".png"; - m_pixmaps.emplace_back(QString::fromStdString(path)); + auto const path = ":common/spinner" + QString::number(i) + ".png"; + m_pixmaps.emplace_back(path); } setEnabled(false);