Skip to content

Commit

Permalink
Fixed plugin crash when running on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tanshihaj committed Feb 13, 2019
1 parent 60a9796 commit fb0aff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/installstepconfigwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ InstallStepConfigWidget::~InstallStepConfigWidget() {
}

QString InstallStepConfigWidget::summaryText() const {
auto resultCommand = QStringLiteral("<b>Conan:</b> ") + m_installStep->processParameters()->command() + QChar::Space + m_installStep->processParameters()->arguments();
QString resultCommand = QStringLiteral("<b>Conan:</b> ") + m_installStep->processParameters()->command() + QChar::Space + m_installStep->processParameters()->arguments();
return resultCommand;
}

Expand All @@ -39,7 +39,7 @@ QString InstallStepConfigWidget::displayName() const {

void InstallStepConfigWidget::updateUi() {
m_ui->additionalArgumentsLineEdit->setText(m_installStep->additionalArguments());
auto resultCommand = m_installStep->processParameters()->command() + QChar::Space + m_installStep->processParameters()->arguments();
QString resultCommand = m_installStep->processParameters()->command() + QChar::Space + m_installStep->processParameters()->arguments();
m_ui->resultCommandLineEdit->setText(resultCommand);
updateSummary();
}

0 comments on commit fb0aff7

Please sign in to comment.