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