forked from qt-creator/qt-creator
Removed dead code
Change-Id: I54eaa6c994ca4628d8e4a89b28df6f72f2029a11 Reviewed-on: http://codereview.qt.nokia.com/4104 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sunil Thaha <sunil.thaha@nokia.com> Reviewed-by: Shane Bradley <shane.bradley@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
d5e57c12c8
commit
5d44543927
@@ -899,15 +899,11 @@ QString TestSelector::curTestSuite(bool fullPath)
|
||||
void TestSelector::checkSuite(TestSuiteItem *base, bool &selected, bool &multiSelection)
|
||||
{
|
||||
TestViewItem *tmpViewItem;
|
||||
TestSuiteItem *testSuite;
|
||||
int tmpViewItemInd = 1;
|
||||
if (base == 0) {
|
||||
if (base == 0)
|
||||
tmpViewItem = static_cast<TestViewItem *>(topLevelItem(0));
|
||||
testSuite = static_cast<TestSuiteItem *>(tmpViewItem);
|
||||
} else {
|
||||
else
|
||||
tmpViewItem = static_cast<TestViewItem *>(base->child(0));
|
||||
testSuite = base;
|
||||
}
|
||||
|
||||
while (tmpViewItem != 0) {
|
||||
|
||||
@@ -992,15 +988,11 @@ QStringList TestSelector::selectedTests()
|
||||
void TestSelector::getSelectedTests(TestSuiteItem *base, QStringList &list, bool isAssigned)
|
||||
{
|
||||
TestViewItem *tmpViewItem;
|
||||
TestSuiteItem *testSuite;
|
||||
int tmpViewItemInd = 1;
|
||||
if (base == 0) {
|
||||
if (base == 0)
|
||||
tmpViewItem = static_cast<TestViewItem *>(topLevelItem(0));
|
||||
testSuite = static_cast<TestSuiteItem *>(tmpViewItem);
|
||||
} else {
|
||||
else
|
||||
tmpViewItem = static_cast<TestViewItem *>(base->child(0));
|
||||
testSuite = base;
|
||||
}
|
||||
|
||||
while (tmpViewItem != 0) {
|
||||
if (tmpViewItem->isTestSuite()) {
|
||||
|
||||
Reference in New Issue
Block a user