aboutsummaryrefslogtreecommitdiff
path: root/tests/client/modeltest.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-12-17 18:37:53 +0000
committerTarmac <>2012-12-17 18:37:53 +0000
commitdf3cd0cf4d594e4b4693fc1d4c3b08cea8d736d9 (patch)
tree359130c016a58e9d70636ae5d89c6e268a216e2f /tests/client/modeltest.cpp
parentc7cd7a43482319d81a2eade26d911b1e05a17441 (diff)
parentc34c5af8a6990f0af95d8dce59991868bfdc62d3 (diff)
downloadqmenumodel-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.cpp10
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);
-
}
};