mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 00:23:47 +00:00
Remove UserData::GetConfigLocation().
This commit is contained in:
@@ -276,12 +276,6 @@ FILE* UserData::OpenFileLegacy( const char* filename )
|
||||
return f;
|
||||
}
|
||||
|
||||
const char* UserData::GetConfigLocation() const
|
||||
{
|
||||
assert( Valid() );
|
||||
return GetSavePathLegacy( m_program.c_str(), m_time, nullptr );
|
||||
}
|
||||
|
||||
void UserData::LoadLegacyDescription()
|
||||
{
|
||||
constexpr auto FileDescription = "description";
|
||||
|
||||
@@ -40,8 +40,6 @@ public:
|
||||
|
||||
void Save();
|
||||
|
||||
const char* GetConfigLocation() const;
|
||||
|
||||
private:
|
||||
FILE* OpenFile( bool write );
|
||||
FILE* OpenFileLegacy( const char* filename );
|
||||
|
||||
@@ -41,16 +41,6 @@ void View::DrawInfo()
|
||||
TextFocused( "File:", m_filename.c_str() );
|
||||
if( m_userData.Valid() )
|
||||
{
|
||||
const auto save = m_userData.GetConfigLocation();
|
||||
if( save )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
if( ImGui::SmallButton( ICON_FA_FOLDER ) )
|
||||
{
|
||||
ImGui::SetClipboardText( save );
|
||||
}
|
||||
TooltipIfHovered( "Copy user settings location to clipboard." );
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user