summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-08-24 08:46:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-08-24 08:46:50 +0200
commitc0d1d315a7a62f8d8453a037073b8e95565cf482 (patch)
tree85f9bede258fc673557e84dcb842f2eea4033407
parent6319cc457adf63c55920963a7a7cbb1398b8bbac (diff)
ui: no need to write anything to new empty config
-rw-r--r--facetracknoir/ui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index bd1b88f7..c77c35b6 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -96,8 +96,10 @@ MainWindow::MainWindow() :
QFile file(pathname);
if (file.open(QFile::ReadWrite))
{
+#if 0
QTextStream stream(&file);
stream << "\n";
+#endif
}
}
}
@@ -163,8 +165,10 @@ void MainWindow::make_empty_config()
QFile filename(dir + "/" + name);
if (filename.open(QFile::ReadWrite))
{
+#if 0
QTextStream stream(&filename);
stream << "\n";
+#endif
refresh_config_list();
}
}