X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fidentity.cpp;h=5fe2d07024830c992e2c58250ff415004317a5ba;hp=afdff7ddd54e695bc9da6442e6a71876bf7a0214;hb=a20c9bf454288c998cb2a5d2a1fdf0927c93f1f3;hpb=04315f46a16fc3627218377071e008b6b9744992 diff --git a/src/common/identity.cpp b/src/common/identity.cpp index afdff7dd..5fe2d070 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-2014 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))