summaryrefslogtreecommitdiff
path: root/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel.cpp')
-rw-r--r--tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel.cpp b/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel.cpp
index 9e1757bc..f0b03746 100644
--- a/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel.cpp
+++ b/tests/plugins/declarativetestplugin/qdeclarativelocationtestmodel.cpp
@@ -169,8 +169,6 @@ void QDeclarativeLocationTestModel::repopulate()
if (crazyMode_)
datacount = (qAbs(qrand()) % datacount_);
- qDebug() << "generating random content: " << datacount;
-
for (int i = 0; i < datacount; ++i) {
DataObject* dataobject = new DataObject;
dataobject->coordinate_ = QGeoCoordinate(latitude, longitude);
@@ -202,10 +200,9 @@ void QDeclarativeLocationTestModel::scheduleRepopulation()
{
if (!componentCompleted_)
return;
- if (datacount_ <= 0) {
- qDebug() << __FUNCTION__ << "won't schedule model, invalid datacount: " << datacount_;
+
+ if (datacount_ <= 0)
return;
- }
if (timer_.isActive())
timer_.stop();