Michael Fabian 'Xaymar' Dirks 6 лет назад
Родитель
Сommit
dc150ce0eb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      UI/qt-display.cpp

+ 1 - 1
UI/qt-display.cpp

@@ -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);