Commit c4f5458b authored by Laurent Montel's avatar Laurent Montel 😁

Fix error found by cppcheck

parent 89abe1c0
......@@ -24,7 +24,7 @@ namespace MailCommon {
class MAILCOMMON_EXPORT FilterImporterGmail : public FilterImporterAbstract
{
public:
FilterImporterGmail(QFile *file);
explicit FilterImporterGmail(QFile *file);
~FilterImporterGmail();
static QString defaultFiltersSettingsPath();
private:
......
......@@ -402,13 +402,11 @@ bool FolderTreeWidget::eventFilter(QObject *o, QEvent *e)
}
applyFilter(d->filter);
return false;
break;
}
case Qt::Key_Delete:
d->filter.clear();
applyFilter(d->filter);
return false;
break;
default:
{
const QString s = ke->text();
......
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