From 77b0389fad394021d8a3e9c5fbcaeb8df0799274 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 5 Feb 2015 17:40:20 +0100 Subject: [PATCH] Set correct permissions for settings file on all platforms but osx and win --- src/libtomahawk/TomahawkSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/TomahawkSettings.cpp b/src/libtomahawk/TomahawkSettings.cpp index d94fcdcbc..568610ec5 100644 --- a/src/libtomahawk/TomahawkSettings.cpp +++ b/src/libtomahawk/TomahawkSettings.cpp @@ -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