Commit 6677d999 authored by Laurent Montel's avatar Laurent Montel 😁

Remove extra ;

parent 9a46c3b4
Pipeline #44052 passed with stage
in 16 minutes and 13 seconds
...@@ -457,7 +457,7 @@ void AutoCorrectionWidget::enableAddRemoveButton() ...@@ -457,7 +457,7 @@ void AutoCorrectionWidget::enableAddRemoveButton()
void AutoCorrectionWidget::setFindReplaceText(QTreeWidgetItem *item, int column) void AutoCorrectionWidget::setFindReplaceText(QTreeWidgetItem *item, int column)
{ {
Q_UNUSED(column); Q_UNUSED(column)
d->ui->find->setText(item->text(0)); d->ui->find->setText(item->text(0));
d->ui->replace->setText(item->text(1)); d->ui->replace->setText(item->text(1));
} }
......
...@@ -45,7 +45,7 @@ ConfigurePluginsListWidget::~ConfigurePluginsListWidget() ...@@ -45,7 +45,7 @@ ConfigurePluginsListWidget::~ConfigurePluginsListWidget()
void ConfigurePluginsListWidget::slotItemChanged(QTreeWidgetItem *item, int column) void ConfigurePluginsListWidget::slotItemChanged(QTreeWidgetItem *item, int column)
{ {
Q_UNUSED(item); Q_UNUSED(item)
if (mInitializeDone) { if (mInitializeDone) {
if (column == 0) { if (column == 0) {
Q_EMIT changed(); Q_EMIT changed();
......
...@@ -32,7 +32,7 @@ bool CustomToolsPlugin::hasConfigureDialog() const ...@@ -32,7 +32,7 @@ bool CustomToolsPlugin::hasConfigureDialog() const
void CustomToolsPlugin::showConfigureDialog(QWidget *parent) void CustomToolsPlugin::showConfigureDialog(QWidget *parent)
{ {
Q_UNUSED(parent); Q_UNUSED(parent)
} }
QString CustomToolsPlugin::description() const QString CustomToolsPlugin::description() const
......
...@@ -39,7 +39,7 @@ bool AbstractGenericPlugin::hasStatusBarSupport() const ...@@ -39,7 +39,7 @@ bool AbstractGenericPlugin::hasStatusBarSupport() const
void AbstractGenericPlugin::showConfigureDialog(QWidget *parent) void AbstractGenericPlugin::showConfigureDialog(QWidget *parent)
{ {
Q_UNUSED(parent); Q_UNUSED(parent)
//Reimplement it. //Reimplement it.
} }
......
...@@ -52,5 +52,5 @@ AbstractGenericPlugin *AbstractGenericPluginInterface::plugin() const ...@@ -52,5 +52,5 @@ AbstractGenericPlugin *AbstractGenericPluginInterface::plugin() const
void AbstractGenericPluginInterface::showConfigureDialog(QWidget *parentWidget) void AbstractGenericPluginInterface::showConfigureDialog(QWidget *parentWidget)
{ {
Q_UNUSED(parentWidget); Q_UNUSED(parentWidget)
} }
...@@ -19,7 +19,7 @@ EmailValidator::EmailValidator(QObject *parent) ...@@ -19,7 +19,7 @@ EmailValidator::EmailValidator(QObject *parent)
QValidator::State EmailValidator::validate(QString &str, int &pos) const QValidator::State EmailValidator::validate(QString &str, int &pos) const
{ {
Q_UNUSED(pos); Q_UNUSED(pos)
if (KEmailAddress::isValidSimpleAddress(str)) { if (KEmailAddress::isValidSimpleAddress(str)) {
return QValidator::Acceptable; return QValidator::Acceptable;
......
...@@ -294,7 +294,7 @@ void SimpleStringListEditor::slotCustomize() ...@@ -294,7 +294,7 @@ void SimpleStringListEditor::slotCustomize()
QString SimpleStringListEditor::customEntry(const QString &text) QString SimpleStringListEditor::customEntry(const QString &text)
{ {
Q_UNUSED(text); Q_UNUSED(text)
return {}; return {};
} }
......
...@@ -84,7 +84,7 @@ public: ...@@ -84,7 +84,7 @@ public:
void setIsEnabled(bool b) override void setIsEnabled(bool b) override
{ {
Q_UNUSED(b); Q_UNUSED(b)
} }
protected: protected:
......
...@@ -47,28 +47,28 @@ QVector<ActionType> GenericPluginInterface::actionTypes() const ...@@ -47,28 +47,28 @@ QVector<ActionType> GenericPluginInterface::actionTypes() const
void GenericPluginInterface::updateActions(int numberOfSelectedItems, int numberOfSelectedCollections) void GenericPluginInterface::updateActions(int numberOfSelectedItems, int numberOfSelectedCollections)
{ {
Q_UNUSED(numberOfSelectedItems); Q_UNUSED(numberOfSelectedItems)
Q_UNUSED(numberOfSelectedCollections); Q_UNUSED(numberOfSelectedCollections)
} }
void GenericPluginInterface::setCurrentItems(const Akonadi::Item::List &items) void GenericPluginInterface::setCurrentItems(const Akonadi::Item::List &items)
{ {
Q_UNUSED(items); Q_UNUSED(items)
} }
void GenericPluginInterface::setItems(const Akonadi::Item::List &items) void GenericPluginInterface::setItems(const Akonadi::Item::List &items)
{ {
Q_UNUSED(items); Q_UNUSED(items)
} }
void GenericPluginInterface::setCurrentCollection(const Akonadi::Collection &col) void GenericPluginInterface::setCurrentCollection(const Akonadi::Collection &col)
{ {
Q_UNUSED(col); Q_UNUSED(col)
} }
void GenericPluginInterface::setCollections(const Akonadi::Collection::List &cols) void GenericPluginInterface::setCollections(const Akonadi::Collection::List &cols)
{ {
Q_UNUSED(cols); Q_UNUSED(cols)
} }
PimCommon::GenericPluginInterface::RequireTypes GenericPluginInterface::requires() const PimCommon::GenericPluginInterface::RequireTypes GenericPluginInterface::requires() const
......
...@@ -44,7 +44,7 @@ void AgentProgressMonitor::abort() ...@@ -44,7 +44,7 @@ void AgentProgressMonitor::abort()
void AgentProgressMonitor::instanceRemoved(const Akonadi::AgentInstance &instance) void AgentProgressMonitor::instanceRemoved(const Akonadi::AgentInstance &instance)
{ {
Q_UNUSED(instance); Q_UNUSED(instance)
if (!mItem.data()) { if (!mItem.data()) {
return; return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment