From 41a8a46b2fb3b9abe7d96c20e2e6c28fa1a7385d Mon Sep 17 00:00:00 2001 From: dismine Date: Fri, 25 Jul 2014 15:22:46 +0300 Subject: [PATCH] Code style fix. --HG-- branch : develop --- src/app/mainwindow.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/mainwindow.h b/src/app/mainwindow.h index c331907db..797be40a1 100644 --- a/src/app/mainwindow.h +++ b/src/app/mainwindow.h @@ -52,7 +52,7 @@ class MainWindow : public QMainWindow Q_OBJECT public: explicit MainWindow(QWidget *parent = nullptr); - ~MainWindow(); + virtual ~MainWindow(); void LoadPattern(const QString &curFile); public slots: void mouseMove(const QPointF &scenePos); @@ -138,13 +138,13 @@ private: Ui::MainWindow *ui; /** @brief pattern container with data (points, arcs, splines, spline paths, variables) */ - VContainer *pattern; + VContainer *pattern; /** @brief doc dom document container */ - VPattern *doc; + VPattern *doc; /** @brief tool current tool */ - Tool tool; + Tool tool; /** @brief currentScene pointer to current scene. */ VMainGraphicsScene *currentScene; @@ -178,7 +178,7 @@ private: QString curFile; /** @brief mode keep current draw mode. */ - Draw mode; + Draw mode; /** @brief currentDrawIndex save current selected pattern peace. */ qint32 currentDrawIndex; @@ -211,7 +211,7 @@ private: Func closeDialogSlot); template void SetToolButtonWithApply(bool checked, Tool t, const QString &cursor, const QString &toolTip, - Func closeDialogSlot, Func2 applyDialogSlot); + Func closeDialogSlot, Func2 applyDialogSlot); template void ClosedDialog(int result); template