Commit ca783c1a authored by Tomaz  Canabrava's avatar Tomaz Canabrava Committed by Tomaz Canabrava
Browse files

Fix Build

parent 58e49ab5
......@@ -99,7 +99,7 @@ QList<QSharedPointer<Filter::HotSpot>> FilterChain::hotSpots() const
QList<QSharedPointer<Filter::HotSpot>> list;
for (auto *filter : _filters) {
list.append(filter->hotSpots());
> }
}
return list;
}
......@@ -246,7 +246,7 @@ Filter::HotSpot::HotSpot(int startLine, int startColumn, int endLine, int endCol
{
}
QList<QAction *> Filter::HotSpot::actions() const
QList<QAction *> Filter::HotSpot::actions()
{
return {};
}
......@@ -426,7 +426,7 @@ UrlFilter::HotSpot::~HotSpot()
{
}
QList<QAction *> UrlFilter::HotSpot::actions() const
QList<QAction *> UrlFilter::HotSpot::actions()
{
auto openAction = new QAction(this);
auto copyAction = new QAction(this);
......@@ -581,7 +581,7 @@ FileFilter::HotSpot::~HotSpot()
{
}
QList<QAction *> FileFilter::HotSpot::actions() const
QList<QAction *> FileFilter::HotSpot::actions()
{
auto openAction = new QAction(this);
openAction->setText(i18n("Open File"));
......
......@@ -124,7 +124,7 @@ public:
* Returns a list of actions associated with the hotspot which can be used in a
* menu or toolbar
*/
virtual QList<QAction *> actions() const;
virtual QList<QAction *> actions();
protected:
/** Sets the type of a hotspot. This should only be set once */
......@@ -257,7 +257,7 @@ public:
const QStringList &capturedTexts);
~HotSpot() override;
QList<QAction *> actions() const override;
QList<QAction *> actions() override;
/**
* Open a web browser at the current URL. The url itself can be determined using
......@@ -304,7 +304,7 @@ public:
const QStringList &capturedTexts, const QString &filePath);
~HotSpot() override;
QList<QAction *> actions() const override;
QList<QAction *> actions() override;
/**
* Opens kate for editing the file.
......
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