summaryrefslogtreecommitdiffstats
path: root/src/designer/src/designer/qdesigner_workbench.cpp
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-01-20 11:13:05 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-20 02:19:42 +0100
commit3021747cb02a4521c3f9ff7e51940b531313bca7 (patch)
tree196be473b86046aa084e28c9e53af9d5f09558ac /src/designer/src/designer/qdesigner_workbench.cpp
parent0c2adad8b746b52344b5204f70f88665063a561e (diff)
Fixed compile.
QDir::convertSeparators -> QDir::toNativeSeparators convertSeparators was deprecated since Qt 4.2 (!) and recently was removed from Qt 5. Change-Id: I6a7dad582ed4270cfbd09defc94c73103bb2a9fe Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'src/designer/src/designer/qdesigner_workbench.cpp')
-rw-r--r--src/designer/src/designer/qdesigner_workbench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/designer/qdesigner_workbench.cpp b/src/designer/src/designer/qdesigner_workbench.cpp
index c2e0aabf0..2569283f2 100644
--- a/src/designer/src/designer/qdesigner_workbench.cpp
+++ b/src/designer/src/designer/qdesigner_workbench.cpp
@@ -839,7 +839,7 @@ bool QDesignerWorkbench::readInBackup()
void QDesignerWorkbench::updateBackup(QDesignerFormWindowInterface* fwi)
{
- QString fwn = QDir::convertSeparators(fwi->fileName());
+ QString fwn = QDir::toNativeSeparators(fwi->fileName());
if (fwn.isEmpty())
fwn = fwi->parentWidget()->windowTitle();