mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Implement global hook feature for Qt
This commit is contained in:
@@ -259,6 +259,9 @@ bool PersistantConfig::Load(const QString &filename)
|
||||
|
||||
bool PersistantConfig::Save()
|
||||
{
|
||||
if(m_Filename.isEmpty())
|
||||
return true;
|
||||
|
||||
// update serialize list
|
||||
RemoteHostList.clear();
|
||||
for(RemoteHost *host : RemoteHosts)
|
||||
@@ -269,6 +272,11 @@ bool PersistantConfig::Save()
|
||||
return Serialize(m_Filename);
|
||||
}
|
||||
|
||||
void PersistantConfig::Close()
|
||||
{
|
||||
m_Filename = QString();
|
||||
}
|
||||
|
||||
void PersistantConfig::SetupFormatting()
|
||||
{
|
||||
Formatter::setParams(*this);
|
||||
|
||||
Reference in New Issue
Block a user