UI: Pass QColor as reference

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-07-24 17:09:37 +02:00
parent c5928bff4a
commit dc150ce0eb

View File

@ -6,7 +6,7 @@
#include <QResizeEvent>
#include <QShowEvent>
static inline long long color_to_int(QColor color)
static inline long long color_to_int(const QColor &color)
{
auto shift = [&](unsigned val, int shift) {
return ((val & 0xff) << shift);