[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [sprinter/gko/master] test: wire up loadAllRunners.
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2014-03-06 10:20:19
Message-ID: E1WLVPX-0007ZS-Gz () scm ! kde ! org
[Download RAW message or body]
Git commit fe2b3883a1488552e0b509719117c98d3ba033aa by Aaron J. Seigo.
Committed on 24/02/2014 at 14:28.
Pushed by aseigo into branch 'gko/master'.
wire up loadAllRunners.
my fingers already are pleased at all the clicking they'll avoid in future
M +6 -0 test/helper.cpp
http://commits.kde.org/sprinter/fe2b3883a1488552e0b509719117c98d3ba033aa
diff --git a/test/helper.cpp b/test/helper.cpp
index 2650643..ff57440 100644
--- a/test/helper.cpp
+++ b/test/helper.cpp
@@ -38,6 +38,12 @@ Sprinter::QuerySession *Helper::session()
void Helper::loadAllRunners()
{
qDebug() << "loading all runnears";
+ const int numRunners = m_session->runnerModel()->rowCount();
+ for (int i = 0; i < numRunners; ++i) {
+ QMetaObject::invokeMethod(m_session->runnerModel(),
+ "loadRunner",
+ Q_ARG(int, i));
+ }
}
#include "moc_helper.cpp"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic