diff options
author | hjk <hjk@qt.io> | 2020-04-09 11:05:50 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-04-09 17:30:23 +0000 |
commit | 79b680e7f0b0ff5ecca9b17fabb11fd03947ec8f (patch) | |
tree | ec8f594ed02b1a55869ade473130efb806b20ca1 /src/plugins/imageviewer/exportdialog.cpp | |
parent | 45ba9fcd535e4cfd5f057149b1ca4bb4dfed5bdb (diff) |
Utils: Rename PathChooser::{f,setF}ileName() to {f,setF}ilePath()
It's returning a FilePath, so it's a better fit.
Keep the old versions as inline function now to ease downstream migration.
Change-Id: I535887928018f42b92895c8b0c82527f0d55e5ca
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/imageviewer/exportdialog.cpp')
-rw-r--r-- | src/plugins/imageviewer/exportdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/imageviewer/exportdialog.cpp b/src/plugins/imageviewer/exportdialog.cpp index 37a59b96259..c96475659e7 100644 --- a/src/plugins/imageviewer/exportdialog.cpp +++ b/src/plugins/imageviewer/exportdialog.cpp @@ -187,12 +187,12 @@ void ExportDialog::exportHeightChanged(int height) QString ExportDialog::exportFileName() const { - return m_pathChooser->fileName().toString(); + return m_pathChooser->filePath().toString(); } void ExportDialog::setExportFileName(const QString &f) { - m_pathChooser->setFileName(Utils::FilePath::fromString(f)); + m_pathChooser->setFilePath(Utils::FilePath::fromString(f)); } ExportData ExportDialog::exportData() const |