forked from qt-creator/qt-creator
Kit: Allow for Macros in EnvironmentKitInformation
Task-number: QTCREATORBUG-19359 Change-Id: I215fcbb6156f864176d7a8284371029e3ae62e92 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -153,9 +153,11 @@ void EnvironmentDialog::setPlaceholderText(const QString &text)
|
||||
QList<EnvironmentItem> EnvironmentDialog::getEnvironmentItems(bool *ok,
|
||||
QWidget *parent,
|
||||
const QList<EnvironmentItem> &initial,
|
||||
const QString &placeholderText)
|
||||
const QString &placeholderText,
|
||||
Polisher polisher)
|
||||
{
|
||||
EnvironmentDialog dlg(parent);
|
||||
polisher(&dlg);
|
||||
dlg.setEnvironmentItems(initial);
|
||||
dlg.setPlaceholderText(placeholderText);
|
||||
bool result = dlg.exec() == QDialog::Accepted;
|
||||
|
||||
Reference in New Issue
Block a user