Fix codestyle deviations
This commit is contained in:
parent
8c014b4bb6
commit
9549352a10
|
@ -22,7 +22,7 @@
|
|||
|
||||
class SslCertificate : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SslCertificate(QObject *parent = 0);
|
||||
|
|
|
@ -443,7 +443,7 @@ ArchMiscWindows::wasLaunchedAsService()
|
|||
bool ArchMiscWindows::getParentProcessName(std::string &name)
|
||||
{
|
||||
PROCESSENTRY32 parentEntry;
|
||||
if (!getParentProcessEntry(parentEntry)){
|
||||
if (!getParentProcessEntry(parentEntry)) {
|
||||
LOG((CLOG_ERR "could not get entry for parent process"));
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -373,7 +373,7 @@ ArgParser::splitCommandString(String& command, std::vector<String>& argv)
|
|||
if (space > leftDoubleQuote && space < rightDoubleQuote) {
|
||||
ignoreThisSpace = true;
|
||||
}
|
||||
else if (space > rightDoubleQuote){
|
||||
else if (space > rightDoubleQuote) {
|
||||
searchDoubleQuotes(command, leftDoubleQuote, rightDoubleQuote, rightDoubleQuote + 1);
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ class IEventQueue;
|
|||
class SocketMultiplexer;
|
||||
class IDataSocket;
|
||||
|
||||
class SecureListenSocket : public TCPListenSocket{
|
||||
class SecureListenSocket : public TCPListenSocket {
|
||||
public:
|
||||
SecureListenSocket(IEventQueue* events,
|
||||
SocketMultiplexer* socketMultiplexer,
|
||||
|
|
|
@ -94,7 +94,7 @@ MSWindowsSession::isProcessInSession(const char* name, PHANDLE process = NULL)
|
|||
}
|
||||
|
||||
std::string nameListJoin;
|
||||
for(std::list<std::string>::iterator it = nameList.begin();
|
||||
for (std::list<std::string>::iterator it = nameList.begin();
|
||||
it != nameList.end(); it++) {
|
||||
nameListJoin.append(*it);
|
||||
nameListJoin.append(", ");
|
||||
|
|
|
@ -541,7 +541,7 @@ OSXScreen::fakeMouseButton(ButtonID id, bool press)
|
|||
// This will allow for higher than triple click but the quartz documentation
|
||||
// does not specify that this should be limited to triple click
|
||||
if (press) {
|
||||
if ((ARCH->time() - m_lastClickTime) <= clickTime && diff <= maxDiff){
|
||||
if ((ARCH->time() - m_lastClickTime) <= clickTime && diff <= maxDiff) {
|
||||
m_clickState++;
|
||||
}
|
||||
else {
|
||||
|
@ -551,7 +551,7 @@ OSXScreen::fakeMouseButton(ButtonID id, bool press)
|
|||
m_lastClickTime = ARCH->time();
|
||||
}
|
||||
|
||||
if (m_clickState == 1){
|
||||
if (m_clickState == 1) {
|
||||
m_lastSingleClickXCursor = m_xCursor;
|
||||
m_lastSingleClickYCursor = m_yCursor;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue