1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Set correct permissions for settings file on all platforms but osx and win

This commit is contained in:
Dominik Schmidt
2015-02-05 17:40:20 +01:00
parent acd5faf93d
commit 77b0389fad

View File

@@ -99,7 +99,7 @@ TomahawkSettings::TomahawkSettings( QObject* parent )
{
s_instance = this;
#ifdef Q_OS_LINUX
#if !(defined(Q_OS_MAC) && defined(Q_OS_WIN))
QFile file( fileName() );
file.setPermissions( file.permissions() & ~( QFile::ReadGroup | QFile::WriteGroup | QFile::ExeGroup | QFile::ReadOther | QFile::WriteOther | QFile::ExeOther ) );
#endif