diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt
index cdbbc3342a..dd636f6de1 100644
--- a/pcsx2/CMakeLists.txt
+++ b/pcsx2/CMakeLists.txt
@@ -274,7 +274,6 @@ set(pcsx2DebugToolsHeaders
# gui sources
set(pcsx2GuiSources
- gui/AdvancedDialog.cpp
gui/AppAssert.cpp
gui/AppConfig.cpp
gui/AppCorePlugins.cpp
@@ -338,7 +337,6 @@ set(pcsx2GuiSources
# gui headers
set(pcsx2GuiHeaders
- gui/AdvancedDialog.h
gui/App.h
gui/ApplyState.h
gui/AppAccelerators.h
diff --git a/pcsx2/Linux/pcsx2.cbp b/pcsx2/Linux/pcsx2.cbp
index 76feb52187..e80f4e6a89 100644
--- a/pcsx2/Linux/pcsx2.cbp
+++ b/pcsx2/Linux/pcsx2.cbp
@@ -395,8 +395,6 @@
-
-
diff --git a/pcsx2/gui/AppMain.cpp b/pcsx2/gui/AppMain.cpp
index 0de560370f..b800cab01c 100644
--- a/pcsx2/gui/AppMain.cpp
+++ b/pcsx2/gui/AppMain.cpp
@@ -361,7 +361,7 @@ public:
// variable do not exist
user_local_dir = (wxDirName)Path::Combine( GetUserConfigDir() , wxDirName( L".config/pcsx2" ));
}
- return user_local_dir;
+ return user_local_dir.ToString();
}
#endif
};