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:
@@ -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
|
||||
|
Reference in New Issue
Block a user