mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
15 lines
278 B
C++
15 lines
278 B
C++
|
#pragma once
|
||
|
|
||
|
#include <QDir>
|
||
|
#include <QString>
|
||
|
|
||
|
namespace chatterino {
|
||
|
|
||
|
// https://stackoverflow.com/a/13014491
|
||
|
inline QString combinePath(const QString &a, const QString &b)
|
||
|
{
|
||
|
return QDir::cleanPath(a + QDir::separator() + b);
|
||
|
}
|
||
|
|
||
|
} // namespace chatterino
|