Открыть боковую панель
Aurora OS
Libraries
AmberPDF QML Plugin
Коммиты
6ed128dc
Коммит
6ed128dc
создал
Фев 15, 2024
по автору
k.sagalakova
Просмотр файлов
[View] Fix the master build.
владелец
22ef53d1
Изменения
1
Скрыть пробелы
Построчно
Рядом
plugin/src/pdfium-provider/pdfpageitem.cpp
Просмотр файла @
6ed128dc
/****************************************************************************
**
** 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.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать