diff --git a/ground/openpilotgcs/src/app/main.cpp b/ground/openpilotgcs/src/app/main.cpp index 62d8876a4..ec2191956 100644 --- a/ground/openpilotgcs/src/app/main.cpp +++ b/ground/openpilotgcs/src/app/main.cpp @@ -239,6 +239,8 @@ int main(int argc, char **argv) setrlimit(RLIMIT_NOFILE, &rl); #endif + QApplication::setGraphicsSystem("raster"); + SharedTools::QtSingleApplication app((QLatin1String(appNameC)), argc, argv); QString locale = QLocale::system().name(); diff --git a/ground/openpilotgcs/src/plugins/config/stabilization.ui b/ground/openpilotgcs/src/plugins/config/stabilization.ui index 106b0da37..8e70bde12 100755 --- a/ground/openpilotgcs/src/plugins/config/stabilization.ui +++ b/ground/openpilotgcs/src/plugins/config/stabilization.ui @@ -496,8 +496,8 @@ 0 0 - 648 - 802 + 626 + 834 @@ -11753,9 +11753,9 @@ border-radius: 4; 0 - 0 - 401 - 990 + -402 + 626 + 1026 @@ -24709,7 +24709,7 @@ border-radius: 5; - 0 + 3 1000000.000000000000000 @@ -24755,7 +24755,7 @@ border-radius: 5; - 0 + 3 1000000.000000000000000 @@ -24801,7 +24801,7 @@ border-radius: 5; - 0 + 5 1000000.000000000000000 @@ -25598,8 +25598,6 @@ border-radius: 4; - - - + diff --git a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp index 6e0cdd96e..4bb570295 100644 --- a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp +++ b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp @@ -412,6 +412,7 @@ void ConfigTaskWidget::widgetsContentsChanged() } } } + smartsave->resetIcons(); setDirty(true); } /** diff --git a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/smartsavebutton.cpp b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/smartsavebutton.cpp index 36da08758..31ae969eb 100644 --- a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/smartsavebutton.cpp +++ b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/smartsavebutton.cpp @@ -192,6 +192,12 @@ void smartSaveButton::enableControls(bool value) button->setEnabled(value); } +void smartSaveButton::resetIcons() +{ + foreach(QPushButton * button,buttonList.keys()) + button->setIcon(QIcon()); +} + void smartSaveButton::apply() { processOperation(NULL,false); diff --git a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/smartsavebutton.h b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/smartsavebutton.h index 6931cee92..03b96ff39 100644 --- a/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/smartsavebutton.h +++ b/ground/openpilotgcs/src/plugins/uavobjectwidgetutils/smartsavebutton.h @@ -52,6 +52,7 @@ public: void removeAllObjects(); void addApplyButton(QPushButton *apply); void addSaveButton(QPushButton *save); + void resetIcons(); signals: void preProcessOperations(); void saveSuccessfull();