erase callbacks

This commit is contained in:
David Kocik 2019-12-06 13:21:44 +01:00
parent 6396ec571a
commit b386eb45dc
2 changed files with 5 additions and 0 deletions

View file

@ -494,6 +494,10 @@ void RemovableDriveManager::add_callback(std::function<void()> callback)
{
m_callbacks.push_back(callback);
}
void RemovableDriveManager::erase_callbacks()
{
m_callbacks.clear();
}
void RemovableDriveManager::set_last_save_path(const std::string& path)
{
std::string last_drive = get_drive_from_path(path);