diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2024-02-12 19:14:31 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2024-02-13 09:45:57 +0100 |
| commit | 98cd7ba5a16e597e1e785c7d0169f9c0c935c81a (patch) | |
| tree | 6fdaf23be611ae32789a09eb4bef40f83f4a101d /tdefile-plugins/mpc | |
| parent | b71a5b9b6a73eb786afc7d967e26f03a264e0f40 (diff) | |
| download | tdemultimedia-98cd7ba5.tar.gz tdemultimedia-98cd7ba5.zip | |
Add support for TagLib 2.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 51d998343c2742e2bcf46dd6e85c1ee21d49b17a)
Diffstat (limited to 'tdefile-plugins/mpc')
| -rw-r--r-- | tdefile-plugins/mpc/tdefile_mpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdefile-plugins/mpc/tdefile_mpc.cpp b/tdefile-plugins/mpc/tdefile_mpc.cpp index 238307f1..b3282c19 100644 --- a/tdefile-plugins/mpc/tdefile_mpc.cpp +++ b/tdefile-plugins/mpc/tdefile_mpc.cpp @@ -210,7 +210,7 @@ bool KMpcPlugin::writeInfo(const KFileMetaInfo& info) const { TagLib::File *file; - if (!TagLib::File::isWritable(TQFile::encodeName(info.path()).data())) { + if (access(info.path().local8Bit().data(), R_OK|W_OK)) { kdDebug(7034) << "can't write to " << info.path() << endl; return false; } |
