Remove the comments from qss

This commit is contained in:
Klaus Basan
2019-04-11 01:17:18 +02:00
committed by Mat Sutcliffe
parent dd37c7b876
commit d875df6fc7
3 changed files with 17 additions and 1 deletions

View File

@@ -151,7 +151,7 @@ namespace BlackGui
{
if (needsWatcher) { m_fileWatcher.addPath(absolutePath); }
QTextStream in(&file);
const QString c = in.readAll();
const QString c = removeComments(in.readAll(), true, true);
const QString f = fileInfo.fileName().toLower();
// keep even empty files as placeholders