Remove more unneeded functions
This commit is contained in:
parent
bac2a3a7b1
commit
6fd90c39d2
4 changed files with 11 additions and 120 deletions
|
|
@ -621,19 +621,6 @@ void HostInterface::CheckForSettingsChanges(const Settings& old_settings)
|
|||
}
|
||||
}
|
||||
|
||||
void HostInterface::SetUserDirectoryToProgramDirectory()
|
||||
{
|
||||
std::string program_path(FileSystem::GetProgramPath());
|
||||
if (program_path.empty())
|
||||
Panic("Failed to get program path.");
|
||||
|
||||
std::string program_directory(FileSystem::GetPathDirectory(program_path));
|
||||
if (program_directory.empty())
|
||||
Panic("Program path is not valid");
|
||||
|
||||
m_user_directory = std::move(program_directory);
|
||||
}
|
||||
|
||||
void HostInterface::OnHostDisplayResized()
|
||||
{
|
||||
if (System::IsValid())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue