From 2aead6a7c615935630d18a7eaf0c5b6966e83ab1 Mon Sep 17 00:00:00 2001 From: banig Date: Sat, 11 Feb 2012 16:17:20 +0200 Subject: [PATCH] Made method name more descriptive --- .../openpilotgcs/src/plugins/scope/scopegadgetoptionspage.cpp | 4 ++-- .../openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h | 2 +- .../openpilotgcs/src/plugins/scope/scopegadgetoptionspage.ui | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.cpp b/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.cpp index a4187f1a4..8489811a5 100644 --- a/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.cpp +++ b/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.cpp @@ -353,10 +353,10 @@ void ScopeGadgetOptionsPage::on_loggingEnable_clicked() void ScopeGadgetOptionsPage::on_spnRefreshInterval_valueChanged(int ) { - validateRefresh(); + validateRefreshInterval(); } -void ScopeGadgetOptionsPage::validateRefresh() +void ScopeGadgetOptionsPage::validateRefreshInterval() { ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance(); UAVObjectManager *objManager = pm->getObject(); diff --git a/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h b/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h index baf933fc3..54042741e 100644 --- a/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h +++ b/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.h @@ -70,7 +70,7 @@ private: void setCurvePlotProperties(QListWidgetItem *listWidgetItem, QString uavObject, QString uavField, int scale, int interpolation, QVariant varColor); void setYAxisWidgetFromPlotCurve(); void setButtonColor(const QColor &color); - void validateRefresh(); + void validateRefreshInterval(); private slots: void on_spnRefreshInterval_valueChanged(int ); diff --git a/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.ui b/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.ui index 1b4e156e3..320c3d314 100644 --- a/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.ui +++ b/ground/openpilotgcs/src/plugins/scope/scopegadgetoptionspage.ui @@ -6,8 +6,8 @@ 0 0 - 550 - 405 + 544 + 342