Code clean, and code style error fix.
This commit is contained in:
@@ -24,7 +24,7 @@ bool SelectDialog::updateReferenceData() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void SelectDialog::setValues(QStringList dates) {
|
||||
void SelectDialog::setValues(const QStringList& dates) {
|
||||
box->setItems(dates);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ class SelectDialog :public GUIFormBaseDialog{
|
||||
public:
|
||||
explicit SelectDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
|
||||
~SelectDialog() override;
|
||||
void setValues(QStringList values);
|
||||
void setValues(const QStringList& values);
|
||||
QString getSelectedValue();
|
||||
void setSelectedValue(const QString& val);
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user