fixed minor issues

This commit is contained in:
fourtf 2018-06-26 17:51:31 +02:00
parent fb230423f6
commit c5441c6d4a
5 changed files with 4 additions and 4 deletions

View file

@ -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 \

View file

@ -2,7 +2,7 @@
#include "common/SignalVectorModel.hpp"
#include "controllers/accounts/Account.hpp"
#include "util/QstringHash.hpp"
#include "util/QStringHash.hpp"
#include <unordered_map>

View file

@ -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);
}

View file

@ -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;