theme_parser: translate hard tabs to spaces
This commit is contained in:
parent
63e57c27f8
commit
4185a30a6e
|
@ -69,6 +69,8 @@ def _process_lines(content: str) -> Generator[str, None, None]:
|
|||
def convert_to_qml(theme_content: str) -> str:
|
||||
"""Return valid QML code with imports from QPL content."""
|
||||
|
||||
theme_content = theme_content.replace("\t", " ")
|
||||
|
||||
lines = [
|
||||
"import QtQuick 2.12",
|
||||
'import "../Base"',
|
||||
|
|
Loading…
Reference in New Issue
Block a user