Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kocik <kocikdav@gmail.com>2020-03-12 13:54:27 +0300
committerDavid Kocik <kocikdav@gmail.com>2020-03-12 13:57:05 +0300
commitb9415607369d7a69772e197ac099c0ff2e8a41d5 (patch)
tree9fc8852e694025cdbec7a85f15171b97013deac6 /src/slic3r/GUI/RemovableDriveManager.cpp
parentc145d60df437447f16d06be9b85fa90df0e58185 (diff)
RemovableDriveManager: not calling update from status()
Update was called too often on main thread mostly from status() causing delays
Diffstat (limited to 'src/slic3r/GUI/RemovableDriveManager.cpp')
-rw-r--r--src/slic3r/GUI/RemovableDriveManager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.cpp b/src/slic3r/GUI/RemovableDriveManager.cpp
index 3ec27ce5b..f54935926 100644
--- a/src/slic3r/GUI/RemovableDriveManager.cpp
+++ b/src/slic3r/GUI/RemovableDriveManager.cpp
@@ -469,9 +469,6 @@ bool RemovableDriveManager::set_and_verify_last_save_path(const std::string &pat
RemovableDriveManager::RemovableDrivesStatus RemovableDriveManager::status()
{
-#ifndef REMOVABLE_DRIVE_MANAGER_OS_CALLBACKS
- this->update();
-#endif // REMOVABLE_DRIVE_MANAGER_OS_CALLBACKS
RemovableDriveManager::RemovableDrivesStatus out;
{