projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement support for the HAProxy proxy protocol
[quassel.git]
/
src
/
common
/
mac_utils.cpp
diff --git
a/src/common/mac_utils.cpp
b/src/common/mac_utils.cpp
index
a9b25d2
..
c6dbf16
100644
(file)
--- a/
src/common/mac_utils.cpp
+++ b/
src/common/mac_utils.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-20
15
by the Quassel Project *
+ * Copyright (C) 2005-20
20
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 *
@@
-28,11
+28,11
@@
QString CFStringToQString(CFStringRef str)
return QString();
CFIndex length = CFStringGetLength(str);
return QString();
CFIndex length = CFStringGetLength(str);
- const UniChar
*
chars = CFStringGetCharactersPtr(str);
+ const UniChar
*
chars = CFStringGetCharactersPtr(str);
if (chars)
if (chars)
- return QString(reinterpret_cast<const QChar
*>(chars), length);
+ return QString(reinterpret_cast<const QChar*>(chars), length);
QVarLengthArray<UniChar> buffer(length);
CFStringGetCharacters(str, CFRangeMake(0, length), buffer.data());
QVarLengthArray<UniChar> buffer(length);
CFStringGetCharacters(str, CFRangeMake(0, length), buffer.data());
- return QString(reinterpret_cast<const QChar
*>(buffer.constData()), length);
+ return QString(reinterpret_cast<const QChar*>(buffer.constData()), length);
}
}