diff options
Diffstat (limited to 'kmymoney2/views/kmymoneyview.cpp')
-rw-r--r-- | kmymoney2/views/kmymoneyview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/views/kmymoneyview.cpp b/kmymoney2/views/kmymoneyview.cpp index 696e09f..6932a1b 100644 --- a/kmymoney2/views/kmymoneyview.cpp +++ b/kmymoney2/views/kmymoneyview.cpp @@ -1150,7 +1150,7 @@ bool KMyMoneyView::saveFile(const KURL& url, const TQString& keyList) throw new MYMONEYEXCEPTION(i18n("Unable to write changes to '%1'").arg(filename)); } } - chown(filename, static_cast<uid_t>(-1), gid); + chown(filename.local8Bit(), static_cast<uid_t>(-1), gid); } else { KTempFile tmpfile; saveToLocalFile(tmpfile.file(), pWriter, plaintext, keyList); |