Skip to content

help make editors/texstudio compile with a static_cast<float> #154

@hoewweken

Description

@hoewweken

Texstudio shows an error while compiling:

The patch is easy, add a static_cast in src/pdfviewer/PDFDocument.cpp

grep log10 pdfviewer/PDFDocument.cpp
int maxDigits = 1 + qFloor(log10(static_cast(pdfWidget->realNumPages())));

Please integrate this..

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions