summaryrefslogtreecommitdiff
path: root/kodereviewer/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'kodereviewer/app.py')
-rw-r--r--kodereviewer/app.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/kodereviewer/app.py b/kodereviewer/app.py
index 430b5cf..94a4e55 100644
--- a/kodereviewer/app.py
+++ b/kodereviewer/app.py
@@ -10,7 +10,7 @@ from PySide6.QtCore import QUrl, QByteArray
from PySide6.QtQml import QQmlApplicationEngine, qmlRegisterType
from kodereviewer.network_manager import NetworkManager
-from kodereviewer.models import CommentModel, PullRequestModel, ProjectModel
+from kodereviewer.models import CommentModel, LabelModel, LineModel, PullRequestModel, ProjectModel
def main():
@@ -35,6 +35,8 @@ def main():
qmlRegisterType(ProjectModel, "org.deprecated.kodereviewer", 1, 0, "ProjectModel")
qmlRegisterType(CommentModel, "org.deprecated.kodereviewer", 1, 0, "CommentModel")
+ qmlRegisterType(LabelModel, "org.deprecated.kodereviewer", 1, 0, "LabelModel")
+ qmlRegisterType(LineModel, "org.deprecated.kodereviewer", 1, 0, "LineModel")
qmlRegisterType(PullRequestModel, "org.deprecated.kodereviewer", 1, 0, "PullRequestModel")
qmlRegisterType(NetworkManager, "org.deprecated.kodereviewer", 1, 0, "NetworkManager")