OSDN Git Service
(root)
/
kde
/
kde-workspace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4f88e3
)
plasma: stop using deprecated setContentsPrefix() in webkit scriptengine
author
Ivailo Monev
<xakepa10@gmail.com>
Mon, 20 Jul 2015 10:41:28 +0000
(13:41 +0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Mon, 20 Jul 2015 10:41:28 +0000
(13:41 +0300)
plasma/generic/scriptengines/webkit/bundle.cpp
patch
|
blob
|
history
diff --git
a/plasma/generic/scriptengines/webkit/bundle.cpp
b/plasma/generic/scriptengines/webkit/bundle.cpp
index
8d9c73f
..
0d0fb35
100644
(file)
--- a/
plasma/generic/scriptengines/webkit/bundle.cpp
+++ b/
plasma/generic/scriptengines/webkit/bundle.cpp
@@
-94,7
+94,7
@@
Bundle::Bundle(const QString &path)
m_isValid(false),
m_width(0), m_height(0)
{
- setContentsPrefix
(QString
());
+ setContentsPrefix
Paths(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
());
+ setContentsPrefix
Paths(QStringList
());
m_data = data;
initTempDir();
open();
@@
-123,7
+123,7
@@
Bundle::Bundle(QObject *parent, QVariantList args)
m_height(0)
{
Q_UNUSED(args)
- setContentsPrefix
(QString
());
+ setContentsPrefix
Paths(QStringList
());
}
Bundle::~Bundle()