summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qvariant.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-08-31 12:11:07 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-09-10 14:21:48 +0200
commit4b9ec075f8f6f1b38a91c43a66fae157415dfae1 (patch)
treefff8c29194c6e8ec68fe3c15d5caa0e9101f59c7 /src/corelib/kernel/qvariant.h
parentc0e51ee9dfd1f7a8482f9fafdcf72b66f4881ef5 (diff)
Remove spurious const from QVariant::convert()'s first parameter
As per ### Qt6 comment. Task-number: QTBUG-85700 Change-Id: I24292d9f2b8f7781032aa8df2a7a0c58ad4fb6c9 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/kernel/qvariant.h')
-rw-r--r--src/corelib/kernel/qvariant.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h
index 7d01911333..47103725f8 100644
--- a/src/corelib/kernel/qvariant.h
+++ b/src/corelib/kernel/qvariant.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt Toolkit.
@@ -489,7 +489,7 @@ protected:
Private d;
void create(int type, const void *copy);
bool equals(const QVariant &other) const;
- bool convert(const int t, void *ptr) const; // ### Qt6: drop const
+ bool convert(int t, void *ptr) const;
private:
// force compile error, prevent QVariant(bool) to be called