set the images/ dir to be required depending on being a "full" package or a single file
This commit is contained in:
parent
f8070443bb
commit
dffb61989e
@ -260,6 +260,7 @@ void WallpaperPackage::pathChanged()
|
||||
QFileInfo info(path());
|
||||
m_fullPackage = info.isDir();
|
||||
removeDefinition("preferred");
|
||||
setRequired("images", m_fullPackage);
|
||||
|
||||
if (m_fullPackage) {
|
||||
setContentsPrefixPaths(QStringList() << "contents/");
|
||||
|
Loading…
x
Reference in New Issue
Block a user