forked from qt-creator/qt-creator
Utils: Remove couple of functions from QtcProcess
Some functions do not work and should therefore not be used. Line-based processing of the output interferes with the internal automatic usage of the ChannelBuffers. Remove the respective functions and move the line parsing over to the client. Change-Id: Iaaa58c181e35e132fae863ddb808547142c99221 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -84,7 +84,7 @@ void DockerSettings::updateImageList()
|
||||
process.setCommand({"docker", {"search", imageListFilter.value()}});
|
||||
|
||||
connect(&process, &QtcProcess::finished, this, [&process, this] {
|
||||
const QString data = QString::fromUtf8(process.readAll());
|
||||
const QString data = QString::fromUtf8(process.readAllStandardOutput());
|
||||
imageList.setValue(data);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user