From c0d1d315a7a62f8d8453a037073b8e95565cf482 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 24 Aug 2015 08:46:50 +0200 Subject: ui: no need to write anything to new empty config --- facetracknoir/ui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'facetracknoir/ui.cpp') 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(); } } -- cgit v1.2.3