corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [2/2] incubator-corinthia git commit: Declare destructors of QWidget subclasses virtual
Date Sun, 07 Jun 2015 02:44:03 GMT
Declare destructors of QWidget subclasses virtual


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/64260429
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/64260429
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/64260429

Branch: refs/heads/master
Commit: 642604294ddb15a44c06a83f1fc55f49aeec5f26
Parents: 60eaf5f
Author: Peter Kelly <peter@uxproductivity.com>
Authored: Sun Jun 7 09:43:32 2015 +0700
Committer: Peter Kelly <peter@uxproductivity.com>
Committed: Sun Jun 7 09:43:32 2015 +0700

----------------------------------------------------------------------
 consumers/corinthia/src/MainWindow.h | 2 +-
 consumers/corinthia/src/Toolbar.h    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/64260429/consumers/corinthia/src/MainWindow.h
----------------------------------------------------------------------
diff --git a/consumers/corinthia/src/MainWindow.h b/consumers/corinthia/src/MainWindow.h
index 0a2693b..ba27bc7 100644
--- a/consumers/corinthia/src/MainWindow.h
+++ b/consumers/corinthia/src/MainWindow.h
@@ -25,7 +25,7 @@ class MainWindow : public QWidget
     Q_OBJECT
 public:
     MainWindow(QApplication *app);
-    ~MainWindow();
+    virtual ~MainWindow();
     public slots:
     void insertTable();
     void insertLink();

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/64260429/consumers/corinthia/src/Toolbar.h
----------------------------------------------------------------------
diff --git a/consumers/corinthia/src/Toolbar.h b/consumers/corinthia/src/Toolbar.h
index 207eafc..b46f6ed 100644
--- a/consumers/corinthia/src/Toolbar.h
+++ b/consumers/corinthia/src/Toolbar.h
@@ -25,7 +25,7 @@ class Toolbar : public QWidget
     Q_OBJECT
 public:
     Toolbar(QWidget *parent = 0);
-    ~Toolbar();
+    virtual ~Toolbar();
 
     QPushButton *tableButton() { return _tableButton; }
     QPushButton *linkButton() { return _linkButton; }


Mime
View raw message