Explorar o código

CodecsComponent: log where a codec is written to

Just for debugging.
Vincent Lang %!s(int64=9) %!d(string=hai) anos
pai
achega
ce3f92f69e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/player/CodecsComponent.cpp

+ 2 - 0
src/player/CodecsComponent.cpp

@@ -582,6 +582,8 @@ void CodecsFetcher::processCodecDownloadDone(const QByteArray& data, const Codec
     return;
   }
 
+  QLOG_INFO() << "Storing codec as" << codec.getPath();
+
   if (!Utils::safelyWriteFile(codec.getPath(), data))
   {
     QLOG_ERROR() << "Writing codec file failed.";