diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2018-04-25 21:46:02 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2018-04-26 20:04:36 +0000 |
commit | 2660aefdbc52c5f2ef1ec96216c7ab82aa0c7324 (patch) | |
tree | a6aeaf2329476d3d5aafefff23ce0ad6d163edbb /tests/auto/other | |
parent | 26e3dfd4ab25f578a988703e693d7cd073277bd6 (diff) |
Remove hack that violates ODR
GCC with LTO sees through our hack:
qprintdialog_unix.cpp:212:7: warning: type ‘struct QPrintDialogPrivate’ violates the C++ One Definition Rule [-Wodr]
qabstractprintdialog.cpp:49:7: note: a different type is defined in another translation unit
This hack was there so that the QPrintDialog functions in
qabstractprintdialog.cpp could use the d pointer. So instead of hacking
around the issue, just use the class that this file has access to:
QAbstractPrintDialogPrivate.
Change-Id: I3840d727dee443318644fffd1528e2e8b814e983
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/other')
0 files changed, 0 insertions, 0 deletions