Store all files in the current directory for portable installations. Fixes #43

This commit is contained in:
Cameron Gutman committed 2018-08-16 21:04:47 -07:00
1 parent 345e800abd
commit 38ff2bf5cb
6 files changed
+79 -12

No files matched your search

+2 -3
View File
@@ -1,13 +1,12 @@
#include "boxartmanager.h"
#include "../path.h"
#include <QStandardPaths>
#include <QImageReader>
#include <QImageWriter>
BoxArtManager::BoxArtManager(QObject *parent) :
QObject(parent),
m_BoxArtDir(
QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/boxart")
m_BoxArtDir(Path::getBoxArtCacheDir())
{
if (!m_BoxArtDir.exists()) {
m_BoxArtDir.mkpath(".");