We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e956564 commit 833bd1bCopy full SHA for 833bd1b
Source/Utility/SettingsFile.cpp
@@ -362,8 +362,10 @@ void SettingsFile::addToRecentlyOpened(File const& path)
362
ValueTree subTree("Path");
363
subTree.setProperty("Path", path.getFullPathName(), nullptr);
364
subTree.setProperty("Time", Time::getCurrentTime().toMilliseconds(), nullptr);
365
+#if JUCE_MAC || JUCE_WINDOWS
366
if (path.isOnRemovableDrive())
367
subTree.setProperty("Removable", var(1), nullptr);
368
+#endif
369
recentlyOpened.addChild(subTree, 0, nullptr);
370
}
371
0 commit comments