plasma: stop using deprecated setContentsPrefix() in webkit scriptengine

This commit is contained in:
Ivailo Monev 2015-07-20 13:41:28 +03:00
parent b4f88e36e4
commit 0f1d26dfb2

View file

@ -94,7 +94,7 @@ Bundle::Bundle(const QString &path)
m_isValid(false),
m_width(0), m_height(0)
{
setContentsPrefix(QString());
setContentsPrefixPaths(QStringList());
QFile f(path);
f.open(QIODevice::ReadOnly);
m_data = f.readAll();
@ -109,7 +109,7 @@ Bundle::Bundle(const QByteArray &data)
m_width(0),
m_height(0)
{
setContentsPrefix(QString());
setContentsPrefixPaths(QStringList());
m_data = data;
initTempDir();
open();
@ -123,7 +123,7 @@ Bundle::Bundle(QObject *parent, QVariantList args)
m_height(0)
{
Q_UNUSED(args)
setContentsPrefix(QString());
setContentsPrefixPaths(QStringList());
}
Bundle::~Bundle()