mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-27 02:20:05 +00:00
Introjucer: misc internal refactoring.
This commit is contained in:
parent
1f2b26a30b
commit
c65c7dd4a4
13 changed files with 158 additions and 138 deletions
|
|
@ -304,12 +304,12 @@ void OpenDocumentManager::fileHasBeenRenamed (const File& oldFile, const File& n
|
|||
//==============================================================================
|
||||
RecentDocumentList::RecentDocumentList()
|
||||
{
|
||||
JucerApplication::getApp()->openDocumentManager.addListener (this);
|
||||
JucerApplication::getApp().openDocumentManager.addListener (this);
|
||||
}
|
||||
|
||||
RecentDocumentList::~RecentDocumentList()
|
||||
{
|
||||
JucerApplication::getApp()->openDocumentManager.removeListener (this);
|
||||
JucerApplication::getApp().openDocumentManager.removeListener (this);
|
||||
}
|
||||
|
||||
void RecentDocumentList::clear()
|
||||
|
|
@ -378,7 +378,7 @@ static void restoreDocList (Project& project, Array <OpenDocumentManager::Docume
|
|||
{
|
||||
if (xml != nullptr)
|
||||
{
|
||||
OpenDocumentManager& odm = JucerApplication::getApp()->openDocumentManager;
|
||||
OpenDocumentManager& odm = JucerApplication::getApp().openDocumentManager;
|
||||
|
||||
forEachXmlChildElementWithTagName (*xml, e, "DOC")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue