UI: Pass QColor as reference
This commit is contained in:
parent
c5928bff4a
commit
dc150ce0eb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user