mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
const more args
This commit is contained in:
parent
3eb4a144fc
commit
dac2ef3a9e
2 changed files with 6 additions and 6 deletions
|
@ -34,11 +34,11 @@ namespace chatterino {
|
|||
|
||||
using namespace literals;
|
||||
|
||||
void registerNmManifest(Paths &paths, const QString &manifestFilename,
|
||||
void registerNmManifest(const Paths &paths, const QString &manifestFilename,
|
||||
const QString ®istryKeyName,
|
||||
const QJsonDocument &document);
|
||||
|
||||
void registerNmHost(Paths &paths)
|
||||
void registerNmHost(const Paths &paths)
|
||||
{
|
||||
if (paths.isPortable())
|
||||
{
|
||||
|
@ -80,7 +80,7 @@ void registerNmHost(Paths &paths)
|
|||
}
|
||||
}
|
||||
|
||||
void registerNmManifest(Paths &paths, const QString &manifestFilename,
|
||||
void registerNmManifest(const Paths &paths, const QString &manifestFilename,
|
||||
const QString ®istryKeyName,
|
||||
const QJsonDocument &document)
|
||||
{
|
||||
|
@ -99,7 +99,7 @@ void registerNmManifest(Paths &paths, const QString &manifestFilename,
|
|||
#endif
|
||||
}
|
||||
|
||||
std::string &getNmQueueName(Paths &paths)
|
||||
std::string &getNmQueueName(const Paths &paths)
|
||||
{
|
||||
static std::string name =
|
||||
"chatterino_gui" + paths.applicationFilePathHash.toStdString();
|
||||
|
|
|
@ -16,8 +16,8 @@ class Channel;
|
|||
|
||||
using ChannelPtr = std::shared_ptr<Channel>;
|
||||
|
||||
void registerNmHost(Paths &paths);
|
||||
std::string &getNmQueueName(Paths &paths);
|
||||
void registerNmHost(const Paths &paths);
|
||||
std::string &getNmQueueName(const Paths &paths);
|
||||
|
||||
Atomic<std::optional<QString>> &nmIpcError();
|
||||
|
||||
|
|
Loading…
Reference in a new issue