Skip to content

Commit

Permalink
Fix of Compile error in InstanceCheck.cpp on Linux (#4877)
Browse files Browse the repository at this point in the history
  • Loading branch information
bubnikv committed Oct 15, 2020
1 parent 6eee0c0 commit 263759a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/InstanceCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ bool instance_check(int argc, char** argv, bool app_config_single_instance)
if (cla.should_send.value() && GUI::wxGetApp().single_instance_checker()->IsAnotherRunning()) {
#else // mac & linx
// get_lock() creates the lockfile therefore *cla.should_send is checked after
if (instance_check_internal::get_lock(lock_name + ".lock", data_dir() + "/cache/"&& *cla.should_send)) {
if (instance_check_internal::get_lock(lock_name + ".lock", data_dir() + "/cache/") && *cla.should_send) {
#endif
instance_check_internal::send_message(cla.cl_string, lock_name);
BOOST_LOG_TRIVIAL(info) << "instance check: Another instance found. This instance will terminate.";
Expand Down
1 change: 0 additions & 1 deletion src/slic3r/GUI/Plater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3483,7 +3483,6 @@ void Plater::priv::on_slicing_update(SlicingStatusEvent &evt)

void Plater::priv::on_slicing_completed(wxCommandEvent & evt)
{
//notification_manager->push_notification(NotificationType::SlicingComplete, *q->get_current_canvas3D(), evt.GetInt());
notification_manager->push_slicing_complete_notification(*q->get_current_canvas3D(), evt.GetInt(), is_sidebar_collapsed());

switch (this->printer_technology) {
Expand Down

0 comments on commit 263759a

Please sign in to comment.