forked from qt-creator/qt-creator
IosToolHandler: Avoid 3 arg connect
Fix signal arg for LogTailFiles::logMessage(). Change-Id: I8d50ee954e9fff2ececfcb17766e0b0cccb98a2b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -50,8 +50,8 @@ static QString CONSOLE_PATH_TEMPLATE = QDir::homePath() +
|
|||||||
class LogTailFiles : public QObject
|
class LogTailFiles : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
|
||||||
|
|
||||||
|
public:
|
||||||
void exec(QPromise<void> &promise, std::shared_ptr<QTemporaryFile> stdoutFile,
|
void exec(QPromise<void> &promise, std::shared_ptr<QTemporaryFile> stdoutFile,
|
||||||
std::shared_ptr<QTemporaryFile> stderrFile)
|
std::shared_ptr<QTemporaryFile> stderrFile)
|
||||||
{
|
{
|
||||||
@@ -87,7 +87,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void logMessage(QString message);
|
void logMessage(const QString &message);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ParserState {
|
struct ParserState {
|
||||||
@@ -727,7 +727,7 @@ IosSimulatorToolHandlerPrivate::IosSimulatorToolHandlerPrivate(const IosDeviceTy
|
|||||||
: IosToolHandlerPrivate(devType, q)
|
: IosToolHandlerPrivate(devType, q)
|
||||||
{
|
{
|
||||||
QObject::connect(&outputLogger, &LogTailFiles::logMessage,
|
QObject::connect(&outputLogger, &LogTailFiles::logMessage,
|
||||||
std::bind(&IosToolHandlerPrivate::appOutput, this, _1));
|
q, [q](const QString &message) { q->appOutput(q, message); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void IosSimulatorToolHandlerPrivate::requestTransferApp(const FilePath &appBundlePath,
|
void IosSimulatorToolHandlerPrivate::requestTransferApp(const FilePath &appBundlePath,
|
||||||
|
|||||||
Reference in New Issue
Block a user