summaryrefslogtreecommitdiffstats
path: root/gui/widgets/IconLabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widgets/IconLabel.cpp')
-rw-r--r--gui/widgets/IconLabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widgets/IconLabel.cpp b/gui/widgets/IconLabel.cpp
index 1bfe8dc9..773f0b99 100644
--- a/gui/widgets/IconLabel.cpp
+++ b/gui/widgets/IconLabel.cpp
@@ -7,7 +7,7 @@
#include <QRect>
IconLabel::IconLabel(QWidget *parent, QIcon icon, QSize size)
- : QWidget(parent), m_icon(icon), m_size(size)
+ : QWidget(parent), m_size(size), m_icon(icon)
{
setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
}