Commit 3970132c authored by armin's avatar armin
Browse files

sd

parent e2720e60
...@@ -283,7 +283,8 @@ CONFIG(release, debug|release) { ...@@ -283,7 +283,8 @@ CONFIG(release, debug|release) {
QMAKE_CXXFLAGS += -Ofast -funroll-loops -fno-signed-zeros -fno-trapping-math QMAKE_CXXFLAGS += -Ofast -funroll-loops -fno-signed-zeros -fno-trapping-math
} }
ios:{ ios:{
QMAKE_CXXFLAGS += -O3 CONFIG += ltcg
QMAKE_CXXFLAGS += -Ofast -funroll-loops -fno-signed-zeros -fno-trapping-math
} }
} }
......
...@@ -32,7 +32,7 @@ ApplePushNotifications::ApplePushNotifications() ...@@ -32,7 +32,7 @@ ApplePushNotifications::ApplePushNotifications()
connect( mNotificationInstance, &IosNotificationReceiver::switchChannelByName, this, &ApplePushNotifications::onSwitchRequest ); 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 ); emit messageReceived( pServer, pRid, pName, pType );
} }
...@@ -60,7 +60,7 @@ void ApplePushNotifications::checkForPendingMessages() ...@@ -60,7 +60,7 @@ void ApplePushNotifications::checkForPendingMessages()
emit switchChannelByName( mRoomName ); emit switchChannelByName( mRoomName );
} }
void ApplePushNotifications::onSwitchRequest( QString pName ) void ApplePushNotifications::onSwitchRequest( const QString &pName )
{ {
mRoomName = pName; mRoomName = pName;
emit switchChannelByName( pName ); emit switchChannelByName( pName );
......
...@@ -44,9 +44,9 @@ class NotificationAbstract : public QObject ...@@ -44,9 +44,9 @@ class NotificationAbstract : public QObject
QString mToken; QString mToken;
signals: signals:
void tokenReceived( const QString &pToken ); void tokenReceived( QString pToken );
void messageReceived( const QString &pServer, const QString &pRid, const QString &pName, const QString &pType ); void messageReceived( QString pServer, QString pRid, QString pName, QString pType );
void switchChannelByName( const 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