Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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