]> gitweb.hamatoma.de Git - reqt/commitdiff
Missing QByteArray::constData errors in varargs
authorkawi <winfriedkappeler@atron.de>
Tue, 27 Oct 2015 06:32:35 +0000 (07:32 +0100)
committerkawi <winfriedkappeler@atron.de>
Tue, 27 Oct 2015 06:32:35 +0000 (07:32 +0100)
.gitignore
base/ReFile.cpp
base/ReFileUtils.cpp
os/ReCryptFileSystem.cpp

index a0a2e6097b86c2456deed764587f772334218a1a..5c1c43ba7739fd0a68bbfa6725ad770f602a09b5 100644 (file)
@@ -9,3 +9,4 @@ doc/
 *.pro.user.*
 rpldoc.zip
 build/
+appl/build-reidos-Desktop-Debug/
index dc04fedfe6ecdf52f9e796877619b04083bd9aa2..0301d03151d7c2f9a9f6ba90067fac5f6a1cac81 100644 (file)
@@ -138,7 +138,7 @@ bool ReFile::deleteTree(const QString& path, bool withBase, ReLogger* logger) {
        if (withBase && (rmdir(path.toUtf8())) != 0) {
                rc = false;
                logger->logv(LOG_ERROR, LOC_DELETE_TREE_3,
-                   "cannot delete directory (%d): %s", errno, path.toUtf8());
+            "cannot delete directory (%d): %s", errno, path.toUtf8().constData());
        }
        return rc;
 }
index 73d776f8bb2bf23231dc38d28a162529bb94dc79..d5e0476349f33fc634944421df60ff00eb243c19 100644 (file)
@@ -121,7 +121,7 @@ bool ReFileUtils::deleteTree(const QString& path, bool withBase,
        if (withBase && (rmdir(path.toUtf8())) != 0) {
                rc = false;
                logger->logv(LOG_ERROR, LOC_DELETE_TREE_3,
-                       "cannot delete directory (%d): %s", errno, path.toUtf8());
+            "cannot delete directory (%d): %s", errno, path.toUtf8().constData());
        }
        return rc;
 }
index b24a8eb1c30db05108236ab6b67da175bec06198..42d00f573db748456beb7b2cfc1ad701f5fb2aad 100644 (file)
@@ -380,7 +380,7 @@ bool ReCryptDirectory::writeMetaFile()
        FILE* fp = fopen(fnMetaFile.toUtf8().constData(), "rb");
        if (fp == NULL){
                m_logger->logv(LOG_ERROR, LOC_WRITE_META_1, "cannot write (%d): %s",
-                                          errno, fnMetaFile);
+                       errno, fnMetaFile.constData());
        } else {
                m_fileBuffer.append(header);
                int ixList = 0;