Tidy up tst_QTimeZone

Its debug member can be set where it's declared, making the
constructor redundant.

Change-Id: Ic1195108766a6a86c3392a5bcf7f197ea31e8068
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
bb10
Edward Welbourne 2021-02-04 14:49:59 +01:00
parent 5d89dda2df
commit 6d10ecc699
1 changed files with 2 additions and 10 deletions

View File

@ -18,9 +18,6 @@ class tst_QTimeZone : public QObject
{
Q_OBJECT
public:
tst_QTimeZone();
private Q_SLOTS:
// Public class default system tests
void createTest();
@ -62,14 +59,9 @@ private:
void testCetPrivate(const QTimeZonePrivate &tzp);
void testEpochTranPrivate(const QTimeZonePrivate &tzp);
#endif // QT_BUILD_INTERNAL
const bool debug;
};
tst_QTimeZone::tst_QTimeZone()
// Set to true to print debug output, test Display Names and run long stress tests
: debug(false)
{
}
const bool debug = false;
};
void tst_QTimeZone::printTimeZone(const QTimeZone &tz)
{