diff --git a/components/shellprivate/widgetexplorer/widgetexplorer.cpp b/components/shellprivate/widgetexplorer/widgetexplorer.cpp index 586aff58c..be5c9dc83 100644 --- a/components/shellprivate/widgetexplorer/widgetexplorer.cpp +++ b/components/shellprivate/widgetexplorer/widgetexplorer.cpp @@ -305,7 +305,7 @@ WidgetExplorer::WidgetExplorer(QObject *parent) //FIXME: delay setApplication(); d->initRunningApplets(); - + d->filterItemModel.setSortCaseSensitivity(Qt::CaseInsensitive); d->filterItemModel.setDynamicSortFilter(true); d->filterItemModel.setSourceModel(&d->itemModel); @@ -416,6 +416,7 @@ void WidgetExplorer::immutabilityChanged(Plasma::Types::ImmutabilityType type) void WidgetExplorer::downloadWidgets(const QString &type) { + Q_UNUSED(type); if (!d->newStuffDialog) { d->newStuffDialog = new KNS3::DownloadDialog( QLatin1String("plasmoids.knsrc") ); d->newStuffDialog.data()->setWindowTitle(i18n("Download New Plasma Widgets")); diff --git a/dataengines/weather/weatherengine.cpp b/dataengines/weather/weatherengine.cpp index 9e485ea25..87d25a008 100644 --- a/dataengines/weather/weatherengine.cpp +++ b/dataengines/weather/weatherengine.cpp @@ -214,8 +214,9 @@ void WeatherEngine::startReconnect() } } -void WeatherEngine::forceUpdate(IonInterface *i, const QString &source) +void WeatherEngine::forceUpdate(IonInterface *ion, const QString &source) { + Q_UNUSED(ion); Plasma::DataContainer *container = containerForSource(source); if (container) { qDebug() << "immediate update of" << source; @@ -251,4 +252,3 @@ QString WeatherEngine::ionNameForSource(const QString& source) const K_EXPORT_PLASMA_DATAENGINE_WITH_JSON(weather, WeatherEngine, "plasma-dataengine-weather.json") #include "weatherengine.moc" - diff --git a/ksmserver/server.h b/ksmserver/server.h index 620058cd1..4a4f0f842 100644 --- a/ksmserver/server.h +++ b/ksmserver/server.h @@ -73,7 +73,7 @@ public: ImmediateLockScreen = 1 << 1, NoLockScreen = 1 << 2 }; - Q_DECLARE_FLAGS(InitFlags, InitFlag); + Q_DECLARE_FLAGS(InitFlags, InitFlag) KSMServer( const QString& windowManager, InitFlags flags ); ~KSMServer() override; diff --git a/libtaskmanager/taskfilterproxymodel.h b/libtaskmanager/taskfilterproxymodel.h index c21af6404..ebe70b769 100644 --- a/libtaskmanager/taskfilterproxymodel.h +++ b/libtaskmanager/taskfilterproxymodel.h @@ -55,7 +55,7 @@ class TASKMANAGER_EXPORT TaskFilterProxyModel : public QSortFilterProxyModel, pu public: explicit TaskFilterProxyModel(QObject *parent = 0); - virtual ~TaskFilterProxyModel();; + virtual ~TaskFilterProxyModel(); void setSourceModel(QAbstractItemModel *sourceModel) override; diff --git a/wallpapers/image/backgroundlistmodel.h b/wallpapers/image/backgroundlistmodel.h index a1d168487..7f0f0761f 100644 --- a/wallpapers/image/backgroundlistmodel.h +++ b/wallpapers/image/backgroundlistmodel.h @@ -57,7 +57,7 @@ class ImageSizeFinder : public QObject, public QRunnable class BackgroundListModel : public QAbstractListModel { Q_OBJECT - Q_PROPERTY(int count READ count NOTIFY countChanged); + Q_PROPERTY(int count READ count NOTIFY countChanged) public: enum {