Address review comments
This commit is contained in:
parent
a5d880979c
commit
1e93f568b5
@ -109,7 +109,7 @@ void ConfigureGraphics::updateShaders(bool anaglyph) {
|
||||
}
|
||||
}
|
||||
|
||||
void ConfigureGraphics::UpdateBackgroundColorButton(QColor color) {
|
||||
void ConfigureGraphics::UpdateBackgroundColorButton(const QColor& color) {
|
||||
bg_color = color;
|
||||
|
||||
QPixmap pixmap(ui->bg_button->size());
|
||||
|
@ -22,7 +22,7 @@ public:
|
||||
void RetranslateUI();
|
||||
void SetConfiguration();
|
||||
|
||||
void UpdateBackgroundColorButton(QColor color);
|
||||
void UpdateBackgroundColorButton(const QColor& color);
|
||||
|
||||
std::unique_ptr<Ui::ConfigureGraphics> ui;
|
||||
QColor bg_color;
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QList>
|
||||
#include <QMenu>
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
@ -21,6 +20,8 @@ class QFileSystemWatcher;
|
||||
class QHBoxLayout;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
template <typename>
|
||||
class QList;
|
||||
class QModelIndex;
|
||||
class QStandardItem;
|
||||
class QStandardItemModel;
|
||||
|
Loading…
Reference in New Issue
Block a user