Changeset View
Changeset View
Standalone View
Standalone View
plugins/impex/libkra/kis_kra_saver.cpp
Show First 20 Lines • Show All 408 Lines • ▼ Show 20 Line(s) | 402 | { | |||
---|---|---|---|---|---|
409 | 409 | | |||
410 | return true; | 410 | return true; | ||
411 | } | 411 | } | ||
412 | 412 | | |||
413 | bool KisKraSaver::saveGuides(QDomDocument& doc, QDomElement& element) | 413 | bool KisKraSaver::saveGuides(QDomDocument& doc, QDomElement& element) | ||
414 | { | 414 | { | ||
415 | KisGuidesConfig guides = m_d->doc->guidesConfig(); | 415 | KisGuidesConfig guides = m_d->doc->guidesConfig(); | ||
416 | 416 | | |||
417 | if (guides.hasGuides()) { | 417 | if (!guides.isDefault()) { | ||
418 | QDomElement guidesElement = guides.saveToXml(doc, "guides"); | 418 | QDomElement guidesElement = guides.saveToXml(doc, "guides"); | ||
419 | element.appendChild(guidesElement); | 419 | element.appendChild(guidesElement); | ||
420 | } | 420 | } | ||
421 | 421 | | |||
422 | return true; | 422 | return true; | ||
423 | } | 423 | } | ||
424 | 424 | | |||
425 | bool KisKraSaver::saveAudio(QDomDocument& doc, QDomElement& element) | 425 | bool KisKraSaver::saveAudio(QDomDocument& doc, QDomElement& element) | ||
Show All 27 Lines |