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

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