diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-08-15 12:13:49 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-08-16 23:20:47 +0200 |
commit | 7ac6cefd8affc1f3bf963035c4ce4184a6023c5a (patch) | |
tree | cf2dff84e5d3ba694431f21bc0703308377cc498 /src/widgets/kernel/qstackedlayout.cpp | |
parent | 70c624d93ee040e8aa4ab576be008f07bbfb8a2e (diff) |
QWidget: unbreak QT_NO_OPENGL builds
Amends 94d7603d5114eacaf648e0b0d2dcae5e161e0217.
The port from QVector<QPlatformTextureList*> to a container of
unique_ptr<QPlatformTextureList> uncovered that QPlatformTextureList
isn't defined for QT_NO_OPENGL builds.
Some unguarded forward-declarations made the old declaration compile
by accident. The new code caught this, so add the #ifdef that had been
missing all along.
Change-Id: If3b14fc24007b1c917a41ab83343c2e5e65fc643
Reviewed-by: Martin Storsjö <martin@martin.st>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Tasuku Suzuki <tasuku.suzuki@qbc.io>
Diffstat (limited to 'src/widgets/kernel/qstackedlayout.cpp')
0 files changed, 0 insertions, 0 deletions