mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Qt6: add missing includes
This class is only available via Qt5 compatibility and for that we need the explicit include. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3321904434
commit
8b463ca158
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <QFile>
|
||||
#include <QDebug>
|
||||
#include <QNetworkProxy>
|
||||
#include "QTextCodec"
|
||||
|
||||
#define LARGE_TEST_REPO "https://github.com/Subsurface/large-anonymous-sample-data"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "core/file.h"
|
||||
#include "core/save-profiledata.h"
|
||||
#include "core/pref.h"
|
||||
#include "QTextCodec"
|
||||
|
||||
// This test compares the content of struct profile against a known reference version for a list
|
||||
// of dives to prevent accidental regressions. Thus is you change anything in the profile this
|
||||
|
@ -18,7 +19,6 @@ void TestProfile::init()
|
|||
{
|
||||
// Set UTF8 text codec as in real applications
|
||||
QTextCodec::setCodecForLocale(QTextCodec::codecForMib(106));
|
||||
|
||||
// first, setup the preferences
|
||||
|
||||
// normally we should be able to do this - but it makes this test fail because the reference data
|
||||
|
|
Loading…
Reference in a new issue