[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [skrooge] /: Open file property fails when the property name contains the full path (https://forum.k
From: Stephane Mankowski <stephane () mankowski ! fr>
Date: 2016-12-06 20:31:58
Message-ID: E1cEMP8-0005sf-II () code ! kde ! org
[Download RAW message or body]
Git commit c8544927b9126052df9b53c8fd923630f4066c7d by Stephane Mankowski.
Committed on 06/12/2016 at 20:31.
Pushed by smankowski into branch 'master'.
Open file property fails when the property name contains the full path \
(https://forum.kde.org/viewtopic.php?f=210&t=137528)
M +1 -0 CHANGELOG
M +1 -1 skgbasemodeler/skgpropertyobject.cpp
https://commits.kde.org/skrooge/c8544927b9126052df9b53c8fd923630f4066c7d
diff --git a/CHANGELOG b/CHANGELOG
index 5106cb5b..5b8767b2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -20,6 +20,7 @@ skrooge (2.6.0)
*Correction: New limit to history size set to 999 instead of 99
*Correction: To avoid partial import with backend, the import is fully done in case of delta detected
*Correction: weboob backend is now searching transactions on date AND rdate to avoid missing \
transaction + *Correction: Open file property fails when the property name contains the full path \
(https://forum.kde.org/viewtopic.php?f=210&t=137528)
*New feature: Addition of "nocolor" to the "money" Grantlee filter
*New feature: Remove .skg in backup file name if .skg is added in the prefix \
(https://forum.kde.org/viewtopic.php?f=210&t=136518&p=366065#p366065)
*New feature: "Alarm" dashboard widget is now compliant with QML mode
diff --git a/skgbasemodeler/skgpropertyobject.cpp b/skgbasemodeler/skgpropertyobject.cpp
index 7947bc34..368e18f2 100644
--- a/skgbasemodeler/skgpropertyobject.cpp
+++ b/skgbasemodeler/skgpropertyobject.cpp
@@ -75,7 +75,7 @@ QUrl SKGPropertyObject::getUrl(bool iBuildTemporaryFile) const
// Is it a copied file ?
if (!blob.isNull()) {
// Yes, this is a file
- QString fileName = QDir::tempPath() % '/' % getValue();
+ QString fileName = QDir::tempPath() % '/' % QFileInfo(getValue()).fileName();
if (iBuildTemporaryFile) {
// Yes, this is a file
QByteArray blob_bytes = blob.toByteArray();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic