mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
#Issue 25: Plugin compilation + icons for programs
This commit is contained in:
@ -441,7 +441,7 @@ void SignaturePlugin::onSignDigitally()
|
||||
{
|
||||
QString offsetString = QString::number(offset);
|
||||
offsetString = offsetString.leftJustified(static_cast<int>(offsetMarkStringLength), ' ', true);
|
||||
const auto index = buffer.data().lastIndexOf(QString(offsetMarkString), indexOfSignature);
|
||||
const auto index = buffer.data().lastIndexOf(QByteArray(offsetMarkString, offsetMarkStringLength), indexOfSignature);
|
||||
buffer.seek(index);
|
||||
buffer.write(offsetString.toLocal8Bit());
|
||||
};
|
||||
|
Reference in New Issue
Block a user