Remove hash<QString> implementation from settings.cpp

This commit is contained in:
Martchus 2020-03-02 16:14:53 +01:00
parent c797850563
commit a744ea642e
1 changed files with 1 additions and 12 deletions

View File

@ -3,6 +3,7 @@
#include "../misc/syncthingkiller.h"
#include "../misc/syncthinglauncher.h"
#include "../../connector/qstringhash.h"
#include "../../connector/syncthingconnection.h"
#include "../../connector/syncthingnotifier.h"
#include "../../connector/syncthingprocess.h"
@ -33,18 +34,6 @@ using namespace std;
using namespace Data;
using namespace QtUtilities;
#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
namespace std {
template <> struct hash<QString> {
std::size_t operator()(const QString &str) const
{
return qHash(str);
}
};
} // namespace std
#endif
namespace Settings {
/*!