forked from qt-creator/qt-creator
Environment: Fix crash in environment widget
Change-Id: I39b30a73932a6fac67cdb6b07225a4f675346fec Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -157,6 +157,7 @@ QList<EnvironmentItem> EnvironmentDialog::getEnvironmentItems(bool *ok,
|
|||||||
Polisher polisher)
|
Polisher polisher)
|
||||||
{
|
{
|
||||||
EnvironmentDialog dlg(parent);
|
EnvironmentDialog dlg(parent);
|
||||||
|
if (polisher)
|
||||||
polisher(&dlg);
|
polisher(&dlg);
|
||||||
dlg.setEnvironmentItems(initial);
|
dlg.setEnvironmentItems(initial);
|
||||||
dlg.setPlaceholderText(placeholderText);
|
dlg.setPlaceholderText(placeholderText);
|
||||||
|
|||||||
Reference in New Issue
Block a user