summaryrefslogtreecommitdiffstats
path: root/tests/libsample
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-07-06 17:42:55 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-07-06 18:23:46 -0300
commitab9ad25af6065a71a4b968d250dc479f2585c7f3 (patch)
treef09a2c5947a1dcb2927d1323dd0a61b159322fd8 /tests/libsample
parentd83a157f2b973c245c772d9ec27403f8f33cf73d (diff)
downloadshiboken-ab9ad25af6065a71a4b968d250dc479f2585c7f3.tar.gz
shiboken-ab9ad25af6065a71a4b968d250dc479f2585c7f3.tar.xz
shiboken-ab9ad25af6065a71a4b968d250dc479f2585c7f3.zip
Fixes bug#253 - "Segmentation Fault when clicked on ListWidget with TableModel"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/libsample')
-rw-r--r--tests/libsample/multiple_derived.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libsample/multiple_derived.h b/tests/libsample/multiple_derived.h
index 6154086d..576b263e 100644
--- a/tests/libsample/multiple_derived.h
+++ b/tests/libsample/multiple_derived.h
@@ -43,6 +43,8 @@ public:
Base1() : m_value(1) {}
virtual ~Base1() {}
virtual int base1Method() { return m_value; }
+
+ virtual void publicMethod() {};
private:
int m_value;
};
@@ -74,6 +76,7 @@ public:
static MDerived1* transformFromBase2(Base2 *self);
private:
+ virtual void publicMethod() {}
int m_value;
};