Drop support of Qt 5

Also remove usage of some deprecated stuff.

PR #19338.
This commit is contained in:
Vladimir Golovnev
2023-07-20 11:17:27 +03:00
committed by GitHub
parent 5e610cfdcf
commit dbe79484d2
55 changed files with 48 additions and 462 deletions

View File

@@ -212,11 +212,7 @@ bool SettingsStorage::writeNativeSettings() const
void SettingsStorage::removeValue(const QString &key)
{
const QWriteLocker locker(&m_lock);
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
if (m_data.remove(key))
#else
if (m_data.remove(key) > 0)
#endif
{
m_dirty = true;
m_timer.start();