summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/printer.cpp')
-rw-r--r--desktop-widgets/printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/printer.cpp b/desktop-widgets/printer.cpp
index 780dce2ba..3676a65fb 100644
--- a/desktop-widgets/printer.cpp
+++ b/desktop-widgets/printer.cpp
@@ -134,7 +134,7 @@ void Printer::flowRender()
void Printer::render(int Pages = 0)
{
// keep original preferences
- QPointer<ProfileWidget2> profile = MainWindow::instance()->graphics();
+ QPointer<ProfileWidget2> profile = MainWindow::instance()->graphics;
int profileFrameStyle = profile->frameStyle();
int animationOriginal = qPrefDisplay::animation_speed();
double fontScale = profile->getFontPrintScale();