src/plugins/*: fix GCC -Wextra-semi colon after member func definition
Pick-to: 6.9 6.8 Task-number: QTBUG-132101 Change-Id: I947fdb66df9b6d86c60139046166395e4ae42127 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
cf6ae9a901
commit
997abb0520
@ -136,7 +136,7 @@ inline const QDBusArgument &operator>>(const QDBusArgument &argument, QIBusEngin
|
||||
class QIBusPropTypeClientCommitPreedit
|
||||
{
|
||||
public:
|
||||
QIBusPropTypeClientCommitPreedit() {};
|
||||
QIBusPropTypeClientCommitPreedit() {}
|
||||
|
||||
QIBusPropTypeClientCommitPreedit(bool inClientCommitPreedit);
|
||||
|
||||
@ -153,7 +153,7 @@ inline const QDBusArgument &operator>>(const QDBusArgument &argument, QIBusPropT
|
||||
class QIBusPropTypeContentType
|
||||
{
|
||||
public:
|
||||
QIBusPropTypeContentType() {};
|
||||
QIBusPropTypeContentType() {}
|
||||
|
||||
QIBusPropTypeContentType(unsigned int inPurpose, unsigned int inHint);
|
||||
|
||||
|
@ -33,7 +33,7 @@ public:
|
||||
#endif
|
||||
#if QT_CONFIG(xcb)
|
||||
Display *display() const override;
|
||||
xcb_connection_t *connection() const override { return nullptr; };
|
||||
xcb_connection_t *connection() const override { return nullptr; }
|
||||
#endif
|
||||
QScopedPointer<QOffscreenX11Connection> m_connection;
|
||||
};
|
||||
|
@ -38,7 +38,7 @@ class QGtk3Json
|
||||
{
|
||||
Q_GADGET
|
||||
private:
|
||||
QGtk3Json(){};
|
||||
QGtk3Json() {}
|
||||
|
||||
public:
|
||||
// Convert enums to strings
|
||||
|
@ -182,10 +182,10 @@ public:
|
||||
Source(const QBrush &brush) : sourceType(SourceType::Fixed)
|
||||
{
|
||||
fix.fixedBrush = brush;
|
||||
};
|
||||
}
|
||||
|
||||
// Invalid constructor and getter
|
||||
Source() : sourceType(SourceType::Invalid) {};
|
||||
Source() : sourceType(SourceType::Invalid) {}
|
||||
bool isValid() const { return sourceType != SourceType::Invalid; }
|
||||
|
||||
// Debug
|
||||
@ -204,11 +204,11 @@ public:
|
||||
// Generic constructor
|
||||
TargetBrush(QPalette::ColorGroup group, QPalette::ColorRole role,
|
||||
Qt::ColorScheme scheme = Qt::ColorScheme::Unknown) :
|
||||
colorGroup(group), colorRole(role), colorScheme(scheme) {};
|
||||
colorGroup(group), colorRole(role), colorScheme(scheme) {}
|
||||
|
||||
// Copy constructor with color scheme modifier for dark/light aware search
|
||||
TargetBrush(const TargetBrush &other, Qt::ColorScheme scheme) :
|
||||
colorGroup(other.colorGroup), colorRole(other.colorRole), colorScheme(scheme) {};
|
||||
colorGroup(other.colorGroup), colorRole(other.colorRole), colorScheme(scheme) {}
|
||||
|
||||
// struct becomes key of a map, so operator< is needed
|
||||
bool operator<(const TargetBrush& other) const {
|
||||
@ -226,9 +226,9 @@ public:
|
||||
// Public getters
|
||||
const QPalette *palette(QPlatformTheme::Palette = QPlatformTheme::SystemPalette) const;
|
||||
QPixmap standardPixmap(QPlatformTheme::StandardPixmap standardPixmap, const QSizeF &size) const;
|
||||
Qt::ColorScheme colorScheme() const { return m_colorScheme; };
|
||||
Qt::ColorScheme colorScheme() const { return m_colorScheme; }
|
||||
static QPalette standardPalette();
|
||||
const QString themeName() const { return m_interface ? m_interface->themeName() : QString(); };
|
||||
const QString themeName() const { return m_interface ? m_interface->themeName() : QString(); }
|
||||
const QFont *font(QPlatformTheme::Font type) const;
|
||||
QIcon fileIcon(const QFileInfo &fileInfo) const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user