From a88655cd202dc43a64a7107f6f533bd386079386 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Mon, 21 Oct 2024 09:57:10 -0300 Subject: Add reviews view :D --- kodereviewer/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kodereviewer/app.py') diff --git a/kodereviewer/app.py b/kodereviewer/app.py index bc5a626..1eeb241 100644 --- a/kodereviewer/app.py +++ b/kodereviewer/app.py @@ -14,7 +14,7 @@ from kodereviewer.models.file import FileModel from kodereviewer.network_manager import NetworkManager from kodereviewer.models import ( CommentModel, TreeFileModel, LabelModel, LineModel, PullRequestModel, - ProjectModel, ReviewerModel + ProjectModel, ReviewerModel, ReviewModel ) import logging from rich.logging import RichHandler @@ -54,6 +54,7 @@ def main(): qmlRegisterType(LineModel, "org.deprecated.kodereviewer", 1, 0, "LineModel") qmlRegisterType(PullRequestModel, "org.deprecated.kodereviewer", 1, 0, "PullRequestModel") qmlRegisterType(ReviewerModel, "org.deprecated.kodereviewer", 1, 0, "ReviewerModel") + qmlRegisterType(ReviewModel, "org.deprecated.kodereviewer", 1, 0, "ReviewModel") qmlRegisterType(NetworkManager, "org.deprecated.kodereviewer", 1, 0, "NetworkManager") localized_context = KLocalizedContext() -- cgit v1.2.3-70-g09d2