Verified Commit d6083a5a authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

GIT_SILENT Add trailing commas

parent 5fc9d6d5
......@@ -28,7 +28,7 @@ class KCheckPass;
enum class AuthenticationMode {
Delayed,
Direct
Direct,
};
class Authenticator : public QObject
......
......@@ -116,7 +116,7 @@ static struct pam_data PAM_data;
static struct pam_conv PAM_conversation = {
&PAM_conv,
&PAM_data
&PAM_data,
};
#ifdef PAM_FAIL_DELAY
......
......@@ -46,7 +46,7 @@ typedef enum {
AuthOk = 0,
AuthBad = 1,
AuthError = 2,
AuthAbort = 3
AuthAbort = 3,
} AuthReturn;
typedef enum {
......@@ -59,13 +59,13 @@ typedef enum {
ConvPutAuthFailed,
ConvPutAuthError,
ConvPutAuthAbort,
ConvPutReadyForAuthentication
ConvPutReadyForAuthentication,
} ConvRequest;
/* these must match the defs in kgreeterplugin.h */
typedef enum {
IsUser = 1, /* unused in kcheckpass */
IsPassword = 2
IsPassword = 2,
} DataTag;
#ifdef __cplusplus
......
......@@ -41,7 +41,7 @@ namespace ScreenLocker
enum class EstablishLock {
Immediate, ///Require password from the start. Use if invoked explicitly by the user
Delayed, ///Allow the user to log back in without a password for a configured grace time.
DefaultToSwitchUser ///UI should default to showing the "switch user dialog"
DefaultToSwitchUser, ///UI should default to showing the "switch user dialog"
};
class AbstractLocker;
......@@ -57,7 +57,7 @@ public:
enum LockState {
Unlocked,
AcquiringLock,
Locked
Locked,
};
static KSldApp* self();
......
......@@ -122,7 +122,7 @@ void WaylandServer::bind(wl_client *client, void *data, uint32_t version, uint32
static const struct org_kde_ksld_interface s_interface = {
x11WindowCallback,
suspendSystemCallback,
hibernateSystemCallback
hibernateSystemCallback,
};
wl_resource_set_implementation(r, &s_interface, s, unbind);
s->addResource(r);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment