forked from LibreELEC/LibreELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
1,017 deletions.
There are no files selected for viewing
Binary file not shown.
28 changes: 14 additions & 14 deletions
28
...efault-to-Expert-level.patch.Needs.rebase → ...di-settings-default-to-Expert-level.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
From 1044fe6c6e1b70a2f2b428a6cc6d49b9bcbcb276 Mon Sep 17 00:00:00 2001 | ||
From: wrxtasy <[email protected]> | ||
Date: Tue, 7 Mar 2017 12:30:11 +0800 | ||
Subject: [PATCH 2/4] Kodi settings: default to Expert level | ||
From a50cb328331628a15065b82d73b1716a57d49240 Mon Sep 17 00:00:00 2001 | ||
From: Jamie Coldhill <[email protected]> | ||
Date: Tue, 27 Jun 2017 14:32:55 +0800 | ||
Subject: [PATCH] Kodi-settings-default-to-Expert-level | ||
|
||
--- | ||
xbmc/view/ViewStateSettings.cpp | 6 ++++-- | ||
1 file changed, 4 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/xbmc/view/ViewStateSettings.cpp b/xbmc/view/ViewStateSettings.cpp | ||
index a608a82..8122c43 100644 | ||
index 406ddff..51372f6 100644 | ||
--- a/xbmc/view/ViewStateSettings.cpp | ||
+++ b/xbmc/view/ViewStateSettings.cpp | ||
@@ -124,12 +124,14 @@ bool CViewStateSettings::Load(const TiXmlNode *settings) | ||
@@ -125,11 +125,13 @@ bool CViewStateSettings::Load(const TiXmlNode *settings) | ||
pElement = settings->FirstChild(XML_GENERAL); | ||
if (pElement != NULL) | ||
{ | ||
+ /* | ||
+ // Force setting level to expert | ||
+ // Force settings level to Expert | ||
int settingLevel; | ||
if (XMLUtils::GetInt(pElement, XML_SETTINGLEVEL, settingLevel, (const int)SettingLevelBasic, (const int)SettingLevelExpert)) | ||
if (XMLUtils::GetInt(pElement, XML_SETTINGLEVEL, settingLevel, (const int)SettingLevel::Basic, (const int)SettingLevel::Expert)) | ||
m_settingLevel = (SettingLevel)settingLevel; | ||
else | ||
- m_settingLevel = SettingLevelStandard; | ||
- | ||
+ */ | ||
+ m_settingLevel = SettingLevelExpert; | ||
- else | ||
- m_settingLevel = SettingLevel::Standard; | ||
+ else */ | ||
+ m_settingLevel = SettingLevel::Expert; | ||
const TiXmlNode* pEventLogNode = pElement->FirstChild(XML_EVENTLOG); | ||
if (pEventLogNode != NULL) | ||
{ | ||
-- | ||
2.7.4 | ||
|
Oops, something went wrong.