Коммит 6ed128dc создал по автору k.sagalakova's avatar k.sagalakova
Просмотр файлов

[View] Fix the master build.

владелец 22ef53d1
/****************************************************************************
**
** Copyright (C) 2022 Open Mobile Platform LLC.
** Copyright (C) 2022-2024 Open Mobile Platform LLC.
** Contact: https://community.omprussia.ru/open-source
**
** This file is part of the AmberPDF-QML-Plugin project.
......@@ -196,8 +196,8 @@ void PdfPageItem::addAnnotation(const QRectF &rect, const QColor &color, const Q
watcher->deleteLater();
});
QList<QPointF> emptyPoints;
auto future = m_amberPage->addAnnotation(rect, color, emptyPoints, author, content);
auto future = m_amberPage->addAnnotation(rect, color, author, content);
watcher->setFuture(future);
}
......@@ -246,8 +246,8 @@ void PdfPageItem::editNote(int noteId, const QString &newContent, const QColor &
watcher->deleteLater();
});
QList<QPointF> emptyPoints;
auto future = m_amberPage->addAnnotation(annotationToEdit->rect, newColor, emptyPoints, annotationToEdit->author, newContent);
auto future = m_amberPage->addAnnotation(annotationToEdit->rect, newColor, annotationToEdit->author, newContent);
watcher->setFuture(future);
connect(this, &PdfPageItem::annotationDelete, this, [this, noteId](int annotationId, bool result) {
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать