mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
refactoring
This commit is contained in:
parent
649f3a2c3e
commit
735308b794
4 changed files with 22 additions and 22 deletions
|
@ -22,8 +22,8 @@ DEFINE_GUID(GUID_DEVINTERFACE_USB_DEVICE,
|
|||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
||||
std::vector<DriveData> RemovableDriveManager::m_current_drives;
|
||||
std::vector<std::function<void()>> RemovableDriveManager::m_callbacks;
|
||||
//std::vector<DriveData> RemovableDriveManager::m_current_drives;
|
||||
//std::vector<std::function<void()>> RemovableDriveManager::m_callbacks;
|
||||
|
||||
|
||||
#if _WIN32
|
||||
|
@ -242,7 +242,7 @@ bool RemovableDriveManager::update(long time)
|
|||
if(last_update == 0)
|
||||
{
|
||||
//add_callback(std::bind(&RemovableDriveManager::print, RemovableDriveManager::getInstance()));
|
||||
add_callback([](void) { print(); });
|
||||
add_callback([](void) { RemovableDriveManager::get_instance().print(); });
|
||||
#if _WIN32
|
||||
register_window();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue