X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fquassel.cpp;h=d62f88ada21c2bbe529d8c99190fc6825223eae9;hb=HEAD;hp=3fa1b45eb3cf345746c868f303cc83ef7565ef82;hpb=d06a8048f0c93c7e063031739ad8e606b91a6f6c;p=quassel.git diff --git a/src/common/quassel.cpp b/src/common/quassel.cpp index 3fa1b45e..d62f88ad 100644 --- a/src/common/quassel.cpp +++ b/src/common/quassel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -362,14 +362,13 @@ void Quassel::setupCliParser() {"ident-listen", tr("The address(es) quasselcore will listen on for ident requests. Same format as --listen."), tr("
[,...]"), "::1,127.0.0.1"}, {"oidentd", tr("Enable oidentd integration. In most cases you should also enable --strict-ident.")}, {"oidentd-conffile", tr("Set path to oidentd configuration file."), tr("file")}, -#ifdef HAVE_SSL + {"proxy-cidr", tr("Set IP range from which proxy protocol definitions are allowed"), tr("
[,...]"), "::1,127.0.0.1"}, {"require-ssl", tr("Require SSL for remote (non-loopback) client connections.")}, {"ssl-cert", tr("Specify the path to the SSL certificate."), tr("path"), "configdir/quasselCert.pem"}, {"ssl-key", tr("Specify the path to the SSL key."), tr("path"), "ssl-cert-path"}, {"metrics-daemon", tr("Enable metrics API.")}, {"metrics-port", tr("The port quasselcore will listen at for metrics requests. Only meaningful with --metrics-daemon."), tr("port"), "9558"}, {"metrics-listen", tr("The address(es) quasselcore will listen on for metrics requests. Same format as --listen."), tr("
[,...]"), "::1,127.0.0.1"} -#endif }; } @@ -491,9 +490,10 @@ QStringList Quassel::dataDirPaths() #ifdef Q_OS_WIN dataDirNames << QCoreApplication::applicationDirPath() + "/data/quassel/" << qgetenv("APPDATA") + QCoreApplication::organizationDomain() << QCoreApplication::applicationDirPath(); -#elif defined Q_OS_MAC - dataDirNames << QDir::homePath() + "/Library/Application Support/Quassel/" << QCoreApplication::applicationDirPath(); #else +#if defined Q_OS_MAC + dataDirNames << QDir::homePath() + "/Library/Application Support/Quassel/" << QCoreApplication::applicationDirPath(); +#endif // Linux et al // XDG_DATA_HOME is the location for users to override system-installed files, usually in .local/share