Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
digiKam
Commits
4cb98b4f
Commit
4cb98b4f
authored
Mar 21, 2013
by
Gilles Caulier
🗼
Browse files
Fix wrong QVaviant cast when Workflow is restaured from settings XML file
CCBUGS: 313938
parent
b01f1d2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
utilities/queuemanager/manager/workflowmanager.cpp
View file @
4cb98b4f
...
...
@@ -432,7 +432,13 @@ bool WorkflowManager::load(QStringList& failed)
{
QString
pname
=
e3
.
attribute
(
QString
::
fromLatin1
(
"name"
));
QString
type
=
e3
.
attribute
(
QString
::
fromLatin1
(
"type"
));
set
.
settings
.
insert
(
pname
,
QVariant
(
val3
).
convert
(
QVariant
::
nameToType
(
type
.
toAscii
())));
QVariant
var
(
val3
);
var
.
convert
(
QVariant
::
nameToType
(
type
.
toAscii
()));
/*
kDebug() << "name=" << pname << " :: " << "type=" << type << " :: " << "value=" << val3
<< " :: " << "QVariant=" << var;
*/
set
.
settings
.
insert
(
pname
,
var
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment