projectexplorer: remove unmatched beginResetModel

Change-Id: I43a5b8eb0d2723bbe58c4d75b2ede5b4d5990e53
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
hjk
2012-07-27 13:50:23 +02:00
committed by Christian Kandeler
parent 5c94f8114f
commit 2b8c163cc5

View File

@@ -159,7 +159,6 @@ void DeviceProcessList::handleRemoteProcessFinished(int exitStatus)
case SshRemoteProcess::NormalExit:
if (d->process.processExitCode() == 0) {
if (d->state == Listing) {
beginResetModel();
const QByteArray remoteStdout = d->process.readAllStandardOutput();
QList<DeviceProcess> processes = d->device->buildProcessList(QString::fromUtf8(remoteStdout.data(),
remoteStdout.count()));