mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
Clean up code for lint errors.
This commit is contained in:
@@ -59,7 +59,7 @@ SeerArrayVisualizerWidget::SeerArrayVisualizerWidget (QWidget* parent) : QWidget
|
||||
QObject::connect(titleLineEdit, &QLineEdit::returnPressed, this, &SeerArrayVisualizerWidget::handleTitleLineEdit);
|
||||
QObject::connect(pointsCheckBox, &QCheckBox::clicked, this, &SeerArrayVisualizerWidget::handlePointsCheckBox);
|
||||
QObject::connect(labelsCheckBox, &QCheckBox::clicked, this, &SeerArrayVisualizerWidget::handleLabelsCheckBox);
|
||||
QObject::connect(lineTypeButtonGroup, QOverload<int>::of(&QButtonGroup::buttonClicked), this, &SeerArrayVisualizerWidget::handleLineTypeButtonGroup);
|
||||
QObject::connect(lineTypeButtonGroup, QOverload<int>::of(&QButtonGroup::idClicked), this, &SeerArrayVisualizerWidget::handleLineTypeButtonGroup);
|
||||
|
||||
// Restore window settings.
|
||||
readSettings();
|
||||
@@ -149,7 +149,7 @@ void SeerArrayVisualizerWidget::handleText (const QString& text) {
|
||||
|
||||
if (id_text.toInt() == _variableId) {
|
||||
|
||||
QStringList words = Seer::filterEscapes(Seer::parseFirst(text, "value=", '"', '"', false)).split(' ', QString::SkipEmptyParts);
|
||||
QStringList words = Seer::filterEscapes(Seer::parseFirst(text, "value=", '"', '"', false)).split(' ', Qt::SkipEmptyParts);
|
||||
|
||||
setVariableAddress(words.first());
|
||||
}
|
||||
@@ -375,6 +375,9 @@ void SeerArrayVisualizerWidget::resizeEvent (QResizeEvent* event) {
|
||||
|
||||
void SeerArrayVisualizerWidget::handleSplitterMoved (int pos, int index) {
|
||||
|
||||
Q_UNUSED(pos);
|
||||
Q_UNUSED(index);
|
||||
|
||||
writeSettings();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user