diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-12-17 18:37:53 +0000 |
---|---|---|
committer | Tarmac <> | 2012-12-17 18:37:53 +0000 |
commit | df3cd0cf4d594e4b4693fc1d4c3b08cea8d736d9 (patch) | |
tree | 359130c016a58e9d70636ae5d89c6e268a216e2f /tests/client/modeltest.cpp | |
parent | c7cd7a43482319d81a2eade26d911b1e05a17441 (diff) | |
parent | c34c5af8a6990f0af95d8dce59991868bfdc62d3 (diff) | |
download | qmenumodel-df3cd0cf4d594e4b4693fc1d4c3b08cea8d736d9.tar.gz qmenumodel-df3cd0cf4d594e4b4693fc1d4c3b08cea8d736d9.tar.bz2 qmenumodel-df3cd0cf4d594e4b4693fc1d4c3b08cea8d736d9.zip |
Try to keep the module unchanged until the function begin[Insert|Remove]Rows is called. Fixes: https://bugs.launchpad.net/bugs/1090305.
Approved by Gustavo Pichorim Boiko, Lars Uebernickel, PS Jenkins bot.
Diffstat (limited to 'tests/client/modeltest.cpp')
-rw-r--r-- | tests/client/modeltest.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/client/modeltest.cpp b/tests/client/modeltest.cpp index 3366177..017f859 100644 --- a/tests/client/modeltest.cpp +++ b/tests/client/modeltest.cpp @@ -29,15 +29,6 @@ extern "C" { #include <gio/gio.h> } -class TestMenuModel : public QMenuModel -{ -public: - TestMenuModel(GMenuModel *other, QObject *parent=0) - : QMenuModel(other, parent) - { - } -}; - class ModelTest : public QObject { Q_OBJECT @@ -296,7 +287,6 @@ private Q_SLOTS: QVariantMap extra = data["extra"].toMap(); QCOMPARE(extra.size(), 13); QCOMPARE(extra["boolean"].toBool(), true); - } }; |