Commit 86eea63a authored by armin's avatar armin
Browse files

Merge branch 'clearIosCookies' into 'master'

Clear ios cookies

See merge request !111
parents 9e87ce6e 260b99b0
......@@ -289,7 +289,8 @@ CONFIG(release, debug|release) {
QMAKE_CXXFLAGS += -Ofast -funroll-loops -fno-signed-zeros -fno-trapping-math
}
ios:{
QMAKE_CXXFLAGS += -O3
CONFIG += ltcg
QMAKE_CXXFLAGS += -Ofast -funroll-loops -fno-signed-zeros -fno-trapping-math
}
}
......
......@@ -32,7 +32,7 @@ ApplePushNotifications::ApplePushNotifications()
connect( mNotificationInstance, &IosNotificationReceiver::switchChannelByName, this, &ApplePushNotifications::onSwitchRequest );
}
void ApplePushNotifications::receiveMessage( QString pServer, QString pRid, QString pName, QString pType )
void ApplePushNotifications::receiveMessage( const QString &pServer, const QString &pRid, const QString &pName, const QString &pType )
{
emit messageReceived( pServer, pRid, pName, pType );
}
......@@ -60,7 +60,7 @@ void ApplePushNotifications::checkForPendingMessages()
emit switchChannelByName( mRoomName );
}
void ApplePushNotifications::onSwitchRequest( QString pName )
void ApplePushNotifications::onSwitchRequest( const QString &pName )
{
mRoomName = pName;
emit switchChannelByName( pName );
......
......@@ -46,7 +46,7 @@ class NotificationAbstract : public QObject
signals:
void tokenReceived( QString pToken );
void messageReceived( QString pServer, QString pRid, QString pName, QString pType );
void switchChannelByName( QString &pChannel );
void switchChannelByName( QString pChannel );
};
......
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