1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

fix indentation

This commit is contained in:
Andrey Filipenkov 2024-04-20 19:51:03 +03:00
parent 99eb5b67cc
commit aa33a13c1c
4 changed files with 20 additions and 20 deletions

View File

@ -30,8 +30,8 @@ class MainWindow : public QMainWindow
#ifdef ENABLE_QT_TRANSLATIONS #ifdef ENABLE_QT_TRANSLATIONS
QTranslator translator; QTranslator translator;
#endif #endif
private:
Ui::MainWindow * ui; Ui::MainWindow * ui;
void load(); void load();
enum TabRows enum TabRows
@ -42,7 +42,6 @@ private:
ABOUT = 3, ABOUT = 3,
}; };
void changeEvent(QEvent *event) override;
public: public:
explicit MainWindow(QWidget * parent = nullptr); explicit MainWindow(QWidget * parent = nullptr);
~MainWindow() override; ~MainWindow() override;
@ -58,6 +57,9 @@ public:
void exitSetup(); void exitSetup();
void switchToModsTab(); void switchToModsTab();
protected:
void changeEvent(QEvent * event) override;
public slots: public slots:
void on_startGameButton_clicked(); void on_startGameButton_clicked();

View File

@ -566,7 +566,6 @@ void CSettingsView::on_spinBoxReservedArea_valueChanged(int arg1)
node->Float() = float(arg1) / 100; // percentage -> ratio node->Float() = float(arg1) / 100; // percentage -> ratio
} }
void CSettingsView::on_comboBoxRendererType_currentTextChanged(const QString &arg1) void CSettingsView::on_comboBoxRendererType_currentTextChanged(const QString &arg1)
{ {
Settings node = settings.write["video"]["driver"]; Settings node = settings.write["video"]["driver"];

View File

@ -8,7 +8,6 @@
* *
*/ */
#pragma once #pragma once
#include "../StdInc.h"
namespace Ui namespace Ui
{ {