[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/devtools/kdevelop4-extra-plugins/coverage
From: Daniel Calviño Sánchez <danxuliu () gmail ! com>
Date: 2011-09-06 18:38:36
Message-ID: 20110906183836.A4289AC87F () svn ! kde ! org
[Download RAW message or body]
SVN commit 1251869 by danxuliu:
Small reorder of code in startLcovJob() to resemble the order in startRemoveGcdaFilesJob().
M +4 -3 reportwidget.cpp
--- trunk/playground/devtools/kdevelop4-extra-plugins/coverage/reportwidget.cpp #1251868:1251869
@@ -381,6 +381,9 @@
SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
SLOT(dispatchSelectionSignal(QItemSelection,QItemSelection)));
+ setStopLcovJobButton();
+ m_ui->removeGcdaFilesJobButton->setEnabled(false);
+
LcovJob* job = new LcovJob(m_targetDirectory->url(), m_delegate);
LcovInfoParser* parser = new LcovInfoParser(job);
@@ -393,13 +396,11 @@
job->setProcess(new KProcess);
job->setParser(parser);
- ICore::self()->runController()->registerJob(job);
connect(job, SIGNAL(finished(KJob*)), SLOT(updateStateWhenLcovJobFinishes()));
m_lcovJob = job;
- setStopLcovJobButton();
- m_ui->removeGcdaFilesJobButton->setEnabled(false);
+ ICore::self()->runController()->registerJob(job);
}
void ReportWidget::updateStateWhenLcovJobFinishes()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic