qsavefile_p.h: fix missing qsavefile.h include

This causes

  qsavefile_p.h:28:22: error: unknown type name 'QSaveFile'
      Q_DECLARE_PUBLIC(QSaveFile)
                       ^

when qsavefile_p.h is included before qsavefile.h was.

Make the header self-sufficient by incuding the Public class' header,
too, as is customary.

Amends e993df877131cfafbf1a3578dbef233a3041a82f.

Pick-to: 6.7 6.5 6.2 5.15
Task-number: QTBUG-126219
Change-Id: I17eb2a357bf1ef7ef5b5e3a3e56c4a921ba30951
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit ad6e4df580a2437cc69be416956f6128267ffbea)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2024-09-16 15:23:38 +02:00 committed by Qt Cherry-pick Bot
parent adc73cf5b9
commit e2880c7d92

View File

@ -15,7 +15,7 @@
// We mean it. // We mean it.
// //
#include <QtCore/qglobal.h> #include <QtCore/qsavefile.h>
#if QT_CONFIG(temporaryfile) #if QT_CONFIG(temporaryfile)