mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
14 lines
264 B
C++
14 lines
264 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
|