mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
plasma: stop using deprecated setContentsPrefix() in webkit scriptengine
This commit is contained in:
parent
b4f88e36e4
commit
0f1d26dfb2
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue