diff options
author | Orgad Shaneh <[email protected]> | 2014-12-21 21:54:30 +0200 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2015-01-12 10:23:37 +0100 |
commit | c6a983d27179ebd26e692918e58d44aa77fc7f8a (patch) | |
tree | 6ef23b30a2e6c4a29c14acbb824e38bae026acdb /src/plugins/android/androidmanifestdocument.cpp | |
parent | 9c1b28fec265054ba4a9c13093ebcfc0f5b4c723 (diff) |
Core: Use FileName for file path in IDocument
Change-Id: I85f7398aee59d0d36f0e5c3bf88ff3c96002e394
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/android/androidmanifestdocument.cpp')
-rw-r--r-- | src/plugins/android/androidmanifestdocument.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/android/androidmanifestdocument.cpp b/src/plugins/android/androidmanifestdocument.cpp index ea12428ca00..cf7cfee3a99 100644 --- a/src/plugins/android/androidmanifestdocument.cpp +++ b/src/plugins/android/androidmanifestdocument.cpp @@ -56,14 +56,12 @@ bool AndroidManifestDocument::save(QString *errorString, const QString &fileName QString AndroidManifestDocument::defaultPath() const { - QFileInfo fi(filePath()); - return fi.absolutePath(); + return filePath().toFileInfo().absolutePath(); } QString AndroidManifestDocument::suggestedFileName() const { - QFileInfo fi(filePath()); - return fi.fileName(); + return filePath().toFileInfo().fileName(); } bool AndroidManifestDocument::isModified() const |