X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fidentity.cpp;h=7f1cac69fe666fb66d28209b63d22b4a24d738be;hp=afdff7ddd54e695bc9da6442e6a71876bf7a0214;hb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;hpb=76db8cdfbeffaaba359c8e80cf2146da9e9e7f8a diff --git a/src/common/identity.cpp b/src/common/identity.cpp index afdff7dd..7f1cac69 100644 --- a/src/common/identity.cpp +++ b/src/common/identity.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -35,7 +35,7 @@ # include #endif -#ifdef Q_OS_WIN32 +#ifdef Q_OS_WIN # include # include # define SECURITY_WIN32 @@ -78,7 +78,7 @@ Identity::Identity(const Identity &other, QObject *parent) } -#ifdef Q_WS_WIN +#ifdef Q_OS_WIN #ifdef UNICODE QString tcharToQString(TCHAR *tchar) { @@ -120,7 +120,7 @@ QString Identity::defaultNick() if (!userName.isEmpty()) nick = userName; -#elif defined(Q_OS_WIN32) +#elif defined(Q_OS_WIN) TCHAR infoBuf[128]; DWORD bufCharCount = 128; //if(GetUserNameEx(/* NameSamCompatible */ 1, infoBuf, &bufCharCount)) @@ -159,7 +159,7 @@ QString Identity::defaultRealName() else return generalDefault; -#elif defined(Q_OS_WIN32) +#elif defined(Q_OS_WIN) TCHAR infoBuf[128]; DWORD bufCharCount = 128; if (GetUserName(infoBuf, &bufCharCount)) @@ -191,8 +191,8 @@ void Identity::setToDefaults() setDetachAwayReasonEnabled(false); setIdent("quassel"); setKickReason(tr("Kindergarten is elsewhere!")); - setPartReason(tr("http://quassel-irc.org - Chat comfortably. Anywhere.")); - setQuitReason(tr("http://quassel-irc.org - Chat comfortably. Anywhere.")); + setPartReason(tr("https://quassel-irc.org - Chat comfortably. Anywhere.")); + setQuitReason(tr("https://quassel-irc.org - Chat comfortably. Anywhere.")); }