Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/mplayerc/PPageSheet.cpp')
-rw-r--r--src/apps/mplayerc/PPageSheet.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/apps/mplayerc/PPageSheet.cpp b/src/apps/mplayerc/PPageSheet.cpp
index 84dce8e80..39d565941 100644
--- a/src/apps/mplayerc/PPageSheet.cpp
+++ b/src/apps/mplayerc/PPageSheet.cpp
@@ -26,6 +26,8 @@
#include "PPageSheet.h"
#include "SettingsDefines.h"
+using namespace TreePropSheet;
+
// CPPageSheet
IMPLEMENT_DYNAMIC(CPPageSheet, CTreePropSheet)
@@ -52,7 +54,6 @@ CPPageSheet::CPPageSheet(LPCTSTR pszCaption, IFilterGraph* pFG, CWnd* pParentWnd
AddPage(&m_externalfilters);
AddPage(&m_subtitles);
AddPage(&m_substyle);
- AddPage(&m_subdb);
AddPage(&m_subMisc);
AddPage(&m_tweaks);
AddPage(&m_casimir);
@@ -62,7 +63,7 @@ CPPageSheet::CPPageSheet(LPCTSTR pszCaption, IFilterGraph* pFG, CWnd* pParentWnd
SetTreeViewMode(TRUE, TRUE, FALSE);
if(!idPage)
- idPage = AfxGetApp()->GetProfileInt(IDS_R_SETTINGS, _T("LastUsedPage"), 0);
+ idPage = AfxGetAppSettings().nLastUsedPage;
if(idPage)
{
for(int i = 0; i < GetPageCount(); i++)