diff options
author | Niels Weber <niels.weber@digia.com> | 2015-01-22 13:16:05 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@theqtcompany.com> | 2015-01-26 15:43:56 +0100 |
commit | ba2ba310c3b65e4fdf48dc2fd672e572a0a9b295 (patch) | |
tree | 3fd0c8b24534e233f77b3f06495a6b831af59e8f /src/libs/installer/remoteserverconnection.h | |
parent | db423c387a601305a9851a8e72fa3d46aaabaa9d (diff) |
Set correct permissions for ini files
This is necessary due to a behavior change in QSettings/Qt 5
that now creates ini files with more restrictive permissions
than before.
Task-number: QTIFW-589
Task-number: QTBUG-44086
Change-Id: I296ad4b312a933cbda7dd5c1f644294f83e1850d
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/remoteserverconnection.h')
-rw-r--r-- | src/libs/installer/remoteserverconnection.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/installer/remoteserverconnection.h b/src/libs/installer/remoteserverconnection.h index 13df09576..70afaeceb 100644 --- a/src/libs/installer/remoteserverconnection.h +++ b/src/libs/installer/remoteserverconnection.h @@ -42,11 +42,12 @@ QT_BEGIN_NAMESPACE class QProcess; -class QSettings; QT_END_NAMESPACE namespace QInstaller { +class PermissionSettings; + class QProcessSignalReceiver; class RemoteServerConnection : public QThread @@ -66,14 +67,14 @@ private: template <typename T> void sendData(QDataStream &stream, const T &arg); void handleQProcess(const QString &command, QDataStream &receivedStream); - void handleQSettings(const QString &command, QDataStream &receivedStream); + void handleQSettings(const QString &command, QDataStream &receivedStream, + PermissionSettings *settings); void handleQFSFileEngine(const QString &command, QDataStream &receivedStream); private: qintptr m_socketDescriptor; QProcess *m_process; - QSettings *m_settings; QFSFileEngine *m_engine; QString m_authorizationKey; QProcessSignalReceiver *m_signalReceiver; |