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
Education
Cantor
Commits
88d05e69
Commit
88d05e69
authored
Jun 29, 2020
by
Nikita Sirgienko
Browse files
Remove redundant debug output in GraphicPackage
parent
5b039912
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/graphicpackage.cpp
View file @
88d05e69
...
...
@@ -97,14 +97,12 @@ QList<GraphicPackage> Cantor::GraphicPackage::loadFromFile(const QString& filena
return
packages
;
QFile
fin
(
filename
);
qDebug
()
<<
"!!!! "
<<
filename
;
if
(
fin
.
open
(
QFile
::
ReadOnly
))
{
QDomDocument
doc
;
if
(
doc
.
setContent
(
fin
.
readAll
())
&&
doc
.
firstChildElement
(
QLatin1String
(
"GraphicPackages"
)).
isNull
()
==
false
)
{
const
auto
&
elements
=
doc
.
elementsByTagName
(
QLatin1String
(
"GraphicPackage"
));
qDebug
()
<<
"!!!! "
<<
elements
.
size
();
for
(
int
i
=
0
;
i
<
elements
.
size
();
i
++
)
{
const
QDomNode
&
root
=
elements
.
item
(
i
);
...
...
Write
Preview
Supports
Markdown
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