forked from qt-creator/qt-creator
Utils: Replace FileChooser::path() by filePath().toString()
Keep the old method for now to ease downstream porting. The change is kept mechanical, there's a lot of cleanup possible now on the user code side. Change-Id: I936baedd45b7ba057f1c789a1bec896886f48eff Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -1390,7 +1390,7 @@ bool HeobDialog::attach() const
|
||||
|
||||
QString HeobDialog::path() const
|
||||
{
|
||||
return m_pathChooser->path();
|
||||
return m_pathChooser->filePath().toString();
|
||||
}
|
||||
|
||||
void HeobDialog::keyPressEvent(QKeyEvent *e)
|
||||
@@ -1475,7 +1475,7 @@ void HeobDialog::saveOptions()
|
||||
settings->setValue(heobLeakRecordingC, m_leakRecordingCombo->currentIndex());
|
||||
settings->setValue(heobAttachC, m_attachCheck->isChecked());
|
||||
settings->setValue(heobExtraArgsC, m_extraArgsEdit->text());
|
||||
settings->setValue(heobPathC, m_pathChooser->path());
|
||||
settings->setValue(heobPathC, m_pathChooser->filePath().toString());
|
||||
settings->endGroup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user