From fda615f0ab0ae1c6f65cbf3b6c9b50d52745f044 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 18 Jun 2012 11:35:52 -0400 Subject: [PATCH] Make headless mode use the Stream ACL by default --- src/libtomahawk/AclRegistry.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/AclRegistry.cpp b/src/libtomahawk/AclRegistry.cpp index 93eb595fa..f8b492582 100644 --- a/src/libtomahawk/AclRegistry.cpp +++ b/src/libtomahawk/AclRegistry.cpp @@ -167,7 +167,9 @@ ACLRegistry::isAuthorizedUser( const QString& dbid, const QString &username, ACL user.knownAccountIds.append( username ); if ( globalType != ACLRegistry::NotFound ) user.acl = globalType; -#ifndef ENABLE_HEADLESS +#ifdef ENABLE_HEADLESS + user.acl = ACLRegistry::Stream; +#else else { getUserDecision( user, username );