Commit f5f3c8e4 authored by Lorenz Meier's avatar Lorenz Meier

Fixed code style / braces

parent b1044aa7
...@@ -95,23 +95,27 @@ public: ...@@ -95,23 +95,27 @@ public:
static MainWindow* instance(QSplashScreen* screen = 0); static MainWindow* instance(QSplashScreen* screen = 0);
~MainWindow(); ~MainWindow();
enum QGC_MAINWINDOW_STYLE { enum QGC_MAINWINDOW_STYLE
{
QGC_MAINWINDOW_STYLE_NATIVE, QGC_MAINWINDOW_STYLE_NATIVE,
QGC_MAINWINDOW_STYLE_INDOOR, QGC_MAINWINDOW_STYLE_INDOOR,
QGC_MAINWINDOW_STYLE_OUTDOOR QGC_MAINWINDOW_STYLE_OUTDOOR
}; };
/** @brief Get current visual style */ /** @brief Get current visual style */
int getStyle() { int getStyle()
{
return currentStyle; return currentStyle;
} }
/** @brief Get auto link reconnect setting */ /** @brief Get auto link reconnect setting */
bool autoReconnectEnabled() { bool autoReconnectEnabled()
{
return autoReconnect; return autoReconnect;
} }
/** @brief Get low power mode setting */ /** @brief Get low power mode setting */
bool lowPowerModeEnabled() { bool lowPowerModeEnabled()
{
return lowPowerMode; return lowPowerMode;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment