summaryrefslogtreecommitdiffhomepage
path: root/compat/base-path.cpp
blob: f207eca021394e8172f2551cf4af9c44118379fe (plain)
1
2
3
4
5
6
7
8
9
10
#include "base-path.hpp"
#include <QCoreApplication>

OTR_COMPAT_EXPORT
cc_noinline
const QString& application_base_path()
{
    static QString const& const_path = QCoreApplication::applicationDirPath();
    return const_path;
}