From 3eb379c447dd2498334f45ddffb9f306e4466f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Mon, 2 May 2022 08:14:54 +0200 Subject: [PATCH] Fix 'gb.qt4' compilation. [GB.QT4] * BUG: Fix 'gb.qt4' compilation. --- gb.qt4/src/cprinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.qt4/src/cprinter.cpp b/gb.qt4/src/cprinter.cpp index 1cbfcb10a..3340f1b80 100644 --- a/gb.qt4/src/cprinter.cpp +++ b/gb.qt4/src/cprinter.cpp @@ -64,7 +64,7 @@ DECLARE_EVENT(EVENT_Draw); #define SET_ORIENTATION setOrientation #define PAGE_FORMAT paperSize #define SET_PAGE_FORMAT(_format) setPaperSize(_format) -#define PAGE_SIZE paperSize() +#define PAGE_SIZE(_unit) paperSize(_unit) #define SET_PAGE_SIZE(_size, _unit) setPaperSize(_size, _unit) #define PRINTER_ORIENTATION QPrinter::Orientation