Changeset View
Changeset View
Standalone View
Standalone View
src/titler/titlewidget.cpp
Show First 20 Lines • Show All 1888 Lines • ▼ Show 20 Line(s) | 1880 | if (url.isValid()) { | |||
---|---|---|---|---|---|
1889 | } | 1889 | } | ||
1890 | m_scene->clearTextSelection(); | 1890 | m_scene->clearTextSelection(); | ||
1891 | QDomDocument doc; | 1891 | QDomDocument doc; | ||
1892 | QFile file(url.toLocalFile()); | 1892 | QFile file(url.toLocalFile()); | ||
1893 | doc.setContent(&file, false); | 1893 | doc.setContent(&file, false); | ||
1894 | file.close(); | 1894 | file.close(); | ||
1895 | setXml(doc); | 1895 | setXml(doc); | ||
1896 | } | 1896 | } | ||
1897 | | ||||
1898 | m_projectTitlePath = url.toString(QUrl::None); | ||||
1899 | | ||||
1897 | } | 1900 | } | ||
1898 | 1901 | | |||
1899 | void TitleWidget::saveTitle(QUrl url) | 1902 | void TitleWidget::saveTitle(QUrl url) | ||
1900 | { | 1903 | { | ||
1901 | if (anim_start->isChecked()) { | 1904 | if (anim_start->isChecked()) { | ||
1902 | slotAnimStart(false); | 1905 | slotAnimStart(false); | ||
1903 | } | 1906 | } | ||
1904 | if (anim_end->isChecked()) { | 1907 | if (anim_end->isChecked()) { | ||
▲ Show 20 Lines • Show All 1034 Lines • Show Last 20 Lines |