mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-10-30 19:57:52 +00:00
Address review comments
This commit is contained in:
parent
a5d880979c
commit
1e93f568b5
3 changed files with 4 additions and 3 deletions
|
@ -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 a new issue