You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by pm...@apache.org on 2015/06/07 04:44:03 UTC
[2/2] incubator-corinthia git commit: Declare destructors of QWidget
subclasses virtual
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 <pe...@uxproductivity.com>
Authored: Sun Jun 7 09:43:32 2015 +0700
Committer: Peter Kelly <pe...@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; }