cleanup: remove Printer::dpi member variable

This variable is not used outside a single function, where it
is reset every time the function runs. This can be realized by
a function-local variable just as well.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-07-07 10:21:40 +02:00 committed by Dirk Hohndel
parent 7944978274
commit cfc87e9da3
2 changed files with 2 additions and 4 deletions

View file

@ -29,7 +29,6 @@ private:
PrintMode printMode;
bool inPlanner;
int done;
int dpi;
void render(int Pages);
void flowRender();
void putProfileImage(const QRect &box, const QRect &viewPort, QPainter *painter,