From 284df4adf859fedd4d5b1fbbad32f7b2c63d85b0 Mon Sep 17 00:00:00 2001
From: Marek Roszko <mark.roszko@gmail.com>
Date: Thu, 28 Dec 2023 08:26:10 -0500
Subject: [PATCH] Move two pgm_base method definitions back to pgm_base.cpp

---
 common/eda_doc.cpp  | 14 --------------
 common/pgm_base.cpp | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/common/eda_doc.cpp b/common/eda_doc.cpp
index 1300f7b793..024d7cadb7 100644
--- a/common/eda_doc.cpp
+++ b/common/eda_doc.cpp
@@ -34,20 +34,6 @@
 #include <wx/filedlg.h>
 
 
-void PGM_BASE::ReadPdfBrowserInfos()
-{
-    SetPdfBrowserName( GetCommonSettings()->m_System.pdf_viewer_name );
-    m_use_system_pdf_browser = GetCommonSettings()->m_System.use_system_pdf_viewer;
-}
-
-
-void PGM_BASE::WritePdfBrowserInfos()
-{
-    GetCommonSettings()->m_System.pdf_viewer_name = GetPdfBrowserName();
-    GetCommonSettings()->m_System.use_system_pdf_viewer = m_use_system_pdf_browser;
-}
-
-
 //  Mime type extensions (PDF files are not considered here)
 static wxMimeTypesManager*  mimeDatabase;
 static const wxFileTypeInfo EDAfallbacks[] =
diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp
index c0c4fa25bb..e1e21949fc 100644
--- a/common/pgm_base.cpp
+++ b/common/pgm_base.cpp
@@ -991,3 +991,17 @@ const wxString& PGM_BASE::GetExecutablePath() const
 {
     return PATHS::GetExecutablePath();
 }
+
+
+void PGM_BASE::ReadPdfBrowserInfos()
+{
+    SetPdfBrowserName( GetCommonSettings()->m_System.pdf_viewer_name );
+    m_use_system_pdf_browser = GetCommonSettings()->m_System.use_system_pdf_viewer;
+}
+
+
+void PGM_BASE::WritePdfBrowserInfos()
+{
+    GetCommonSettings()->m_System.pdf_viewer_name = GetPdfBrowserName();
+    GetCommonSettings()->m_System.use_system_pdf_viewer = m_use_system_pdf_browser;
+}
\ No newline at end of file