mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 14:06:32 +01:00
Fixing some compilation warnings
This commit is contained in:
1 parent
95c5763b83
commit
ba5e8860cb
3 files changed
+3
-5
No files matched your search
@@ -1138,12 +1138,12 @@ void NotificationManager::push_upload_job_notification(wxEvtHandler* evt_handle
|
||||
void NotificationManager::set_upload_job_notification_percentage(int id, const std::string& filename, const std::string& host, float percentage)
|
||||
{
|
||||
std::string text = PrintHostUploadNotification::get_upload_job_text(id, filename, host);
|
||||
bool found = false;
|
||||
// bool found = false;
|
||||
for (std::unique_ptr<PopNotification>& notification : m_pop_notifications) {
|
||||
if (notification->get_type() == NotificationType::ProgressBar && notification->compare_text(text)) {
|
||||
dynamic_cast<PrintHostUploadNotification*>(notification.get())->set_percentage(percentage);
|
||||
wxGetApp().plater()->get_current_canvas3D()->schedule_extra_frame(0);
|
||||
found = true;
|
||||
// found = true;
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user