summaryrefslogtreecommitdiff
path: root/kodereviewer/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'kodereviewer/app.py')
-rw-r--r--kodereviewer/app.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/kodereviewer/app.py b/kodereviewer/app.py
index 204b73e..f7c5b08 100644
--- a/kodereviewer/app.py
+++ b/kodereviewer/app.py
@@ -12,7 +12,10 @@ from PySide6.QtQuickControls2 import QQuickStyle
from kodereviewer.models.file import FileModel
from kodereviewer.network_manager import NetworkManager
-from kodereviewer.models import CommentModel, LabelModel, LineModel, PullRequestModel, ProjectModel
+from kodereviewer.models import (
+ CommentModel, TreeFileModel, LabelModel, LineModel, PullRequestModel,
+ ProjectModel
+)
import logging
from rich.logging import RichHandler
@@ -46,6 +49,7 @@ def main():
qmlRegisterType(CommentModel, "org.deprecated.kodereviewer", 1, 0, "CommentModel")
qmlRegisterType(FileModel, "org.deprecated.kodereviewer", 1, 0, "FileModel")
+ qmlRegisterType(TreeFileModel, "org.deprecated.kodereviewer", 1, 0, "TreeFileModel")
qmlRegisterType(LabelModel, "org.deprecated.kodereviewer", 1, 0, "LabelModel")
qmlRegisterType(LineModel, "org.deprecated.kodereviewer", 1, 0, "LineModel")
qmlRegisterType(PullRequestModel, "org.deprecated.kodereviewer", 1, 0, "PullRequestModel")