Review fixes.

This commit is contained in:
Yuri Gorshenin 2017-04-27 20:33:23 +03:00 committed by Vladimir Byko-Ianko
parent 5559f83874
commit 94d046579c

View file

@ -1,7 +1,5 @@
#include "qt/qt_common/spinner.hpp"
#include <string>
#include <QtCore/QString>
#include <QtCore/QTimer>
#include <QtCore/Qt>
@ -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);