Delete file lekalo.xml.
--HG-- branch : develop
This commit is contained in:
parent
76ca37642c
commit
ef8d2957a7
|
@ -1099,14 +1099,6 @@ MainWindow::~MainWindow(){
|
||||||
CanselTool();
|
CanselTool();
|
||||||
delete ui;
|
delete ui;
|
||||||
|
|
||||||
QFile file("lekalo.xml");
|
|
||||||
if(file.open(QIODevice::WriteOnly | QIODevice::Truncate)){
|
|
||||||
const int Indent = 4;
|
|
||||||
QTextStream out(&file);
|
|
||||||
doc->save(out, Indent);
|
|
||||||
file.close();
|
|
||||||
}
|
|
||||||
|
|
||||||
delete data;
|
delete data;
|
||||||
if(!doc->isNull()){
|
if(!doc->isNull()){
|
||||||
delete doc;
|
delete doc;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user