diff --git a/chatterino.pro b/chatterino.pro index f67d44b1..5c9dc4f7 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -317,7 +317,7 @@ HEADERS += \ src/util/IrcHelpers.hpp \ src/util/LayoutCreator.hpp \ src/util/PostToThread.hpp \ - src/util/QstringHash.hpp \ + src/util/QStringHash.hpp \ src/util/RapidjsonHelpers.hpp \ src/util/RemoveScrollAreaBackground.hpp \ src/util/SharedPtrElementLess.hpp \ diff --git a/src/controllers/accounts/AccountModel.hpp b/src/controllers/accounts/AccountModel.hpp index ea9c1117..714bf51c 100644 --- a/src/controllers/accounts/AccountModel.hpp +++ b/src/controllers/accounts/AccountModel.hpp @@ -2,7 +2,7 @@ #include "common/SignalVectorModel.hpp" #include "controllers/accounts/Account.hpp" -#include "util/QstringHash.hpp" +#include "util/QStringHash.hpp" #include diff --git a/src/util/CombinePath.hpp b/src/util/CombinePath.hpp index c7ed22b1..d0ed8e7a 100644 --- a/src/util/CombinePath.hpp +++ b/src/util/CombinePath.hpp @@ -6,7 +6,7 @@ namespace chatterino { // https://stackoverflow.com/a/13014491 -static QString combinePath(const QString &a, const QString &b) +inline QString combinePath(const QString &a, const QString &b) { return QDir::cleanPath(a + QDir::separator() + b); } diff --git a/src/util/DistanceBetweenPoints.hpp b/src/util/DistanceBetweenPoints.hpp index 59170638..7a2a834c 100644 --- a/src/util/DistanceBetweenPoints.hpp +++ b/src/util/DistanceBetweenPoints.hpp @@ -6,7 +6,7 @@ namespace chatterino { -static float distanceBetweenPoints(const QPointF &p1, const QPointF &p2) +inline float distanceBetweenPoints(const QPointF &p1, const QPointF &p2) { QPointF tmp = p1 - p2; diff --git a/src/util/QstringHash.hpp b/src/util/QStringHash.hpp similarity index 100% rename from src/util/QstringHash.hpp rename to src/util/QStringHash.hpp