Commit a3904c0f authored by Christoph Cullmann's avatar Christoph Cullmann

fix type to fix BSD compile

parent 7e9bbf3e
......@@ -41,7 +41,7 @@ QString KatePluginInfo::saveName() const
return QFileInfo(metaData.fileName()).baseName();
}
bool KatePluginInfo::operator<(KatePluginInfo &other) const
bool KatePluginInfo::operator<(const KatePluginInfo &other) const
{
if (sortOrder != other.sortOrder)
return sortOrder < other.sortOrder;
......
......@@ -43,7 +43,7 @@ public:
KTextEditor::Plugin *plugin = nullptr;
int sortOrder = 0;
QString saveName() const;
bool operator<(KatePluginInfo &other) const;
bool operator<(const KatePluginInfo &other) const;
};
typedef QList<KatePluginInfo> KatePluginList;
......
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