diff options
author | hjk <hjk@qt.io> | 2020-04-09 11:35:12 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-04-09 17:45:06 +0000 |
commit | 68c539bb9d697a1496b41af8efa939e1fe1f9715 (patch) | |
tree | 03056243a1c63924592e7042d07ed414ef2c6195 /src/plugins/cpaster | |
parent | 79b680e7f0b0ff5ecca9b17fabb11fd03947ec8f (diff) |
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>
Diffstat (limited to 'src/plugins/cpaster')
-rw-r--r-- | src/plugins/cpaster/fileshareprotocolsettingspage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpaster/fileshareprotocolsettingspage.cpp b/src/plugins/cpaster/fileshareprotocolsettingspage.cpp index a0b160176b..8d7737934f 100644 --- a/src/plugins/cpaster/fileshareprotocolsettingspage.cpp +++ b/src/plugins/cpaster/fileshareprotocolsettingspage.cpp @@ -84,7 +84,7 @@ void FileShareProtocolSettingsWidget::setSettings(const FileShareProtocolSetting FileShareProtocolSettings FileShareProtocolSettingsWidget::settings() const { FileShareProtocolSettings rc; - rc.path = m_ui.pathChooser->path(); + rc.path = m_ui.pathChooser->filePath().toString(); rc.displayCount = m_ui.displayCountSpinBox->value(); return rc; } |