projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-tidy: Avoid another warning about potential memory leak
[quassel.git]
/
src
/
core
/
sqlauthenticator.cpp
diff --git
a/src/core/sqlauthenticator.cpp
b/src/core/sqlauthenticator.cpp
index
3be817b
..
201fd95
100644
(file)
--- a/
src/core/sqlauthenticator.cpp
+++ b/
src/core/sqlauthenticator.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
6
by the Quassel Project *
+ * Copyright (C) 2005-201
8
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-20,7
+20,7
@@
#include "sqlauthenticator.h"
#include "sqlauthenticator.h"
-#include "log
ger
.h"
+#include "log
message
.h"
#include "network.h"
#include "quassel.h"
#include "network.h"
#include "quassel.h"
@@
-61,8
+61,8
@@
QString SqlAuthenticator::displayName() const
QString SqlAuthenticator::description() const
{
QString SqlAuthenticator::description() const
{
- return tr("Do not auth
against any remote authentication
service, but instead save a hashed and salted password "
- "in the
selected database
.");
+ return tr("Do not auth
enticate against any remote
service, but instead save a hashed and salted password "
+ "in the
database selected in the next step
.");
}
}
@@
-72,20
+72,27
@@
UserId SqlAuthenticator::validateUser(const QString &user, const QString &passwo
}
}
-bool SqlAuthenticator::setup(const QVariantMap &settings)
+bool SqlAuthenticator::setup(const QVariantMap &settings, const QProcessEnvironment &environment,
+ bool loadFromEnvironment)
{
Q_UNUSED(settings)
{
Q_UNUSED(settings)
+ Q_UNUSED(environment)
+ Q_UNUSED(loadFromEnvironment)
return true;
}
return true;
}
-Authenticator::State SqlAuthenticator::init(const QVariantMap &settings)
+Authenticator::State SqlAuthenticator::init(const QVariantMap &settings,
+ const QProcessEnvironment &environment,
+ bool loadFromEnvironment)
{
Q_UNUSED(settings)
{
Q_UNUSED(settings)
+ Q_UNUSED(environment)
+ Q_UNUSED(loadFromEnvironment)
// TODO: FIXME: this should check if the storage provider is ready, but I don't
// know if there's an exposed way to do that at the moment.
// TODO: FIXME: this should check if the storage provider is ready, but I don't
// know if there's an exposed way to do that at the moment.
- quInfo() << qPrintable(backendId()) << "
A
uthenticator is ready.";
+ quInfo() << qPrintable(backendId()) << "
a
uthenticator is ready.";
return IsReady;
}
return IsReady;
}