diff --git a/src/downloader/InstanceSend.cpp b/src/downloader/InstanceSend.cpp index 18bc65d343..0a44404f9f 100644 --- a/src/downloader/InstanceSend.cpp +++ b/src/downloader/InstanceSend.cpp @@ -420,7 +420,7 @@ bool SlicerSend::send_path(const wxString& path) const { #ifdef _WIN32 std::string escaped = escape_strings_cstyle({ "prusa-downloader", boost::nowide::narrow(path) }); - return send_message_slicer(boost::nowide::widen(escaped); + return send_message_slicer(boost::nowide::widen(escaped)); #else if (dbus_send_wait_for_reply("com.prusa3d.prusaslicer.InstanceCheck.Object" + get_slicer_hash(),"Introspect","/com/prusa3d/prusaslicer/InstanceCheck/Object" + get_slicer_hash())) { @@ -548,6 +548,7 @@ void OtherDownloaderMessageHandler::shutdown() } #ifdef _WIN32 +#if 0 void OtherDownloaderMessageHandler::init_windows_properties(MainFrame* main_frame, size_t instance_hash) { //size_t minor_hash = instance_hash & 0xFFFFFFFF; @@ -559,9 +560,6 @@ void OtherDownloaderMessageHandler::init_windows_properties(MainFrame* main_fram //SetProp(hwnd, L"Instance_Hash_Major", handle_major); //BOOST_LOG_TRIVIAL(debug) << "window properties initialized " << instance_hash << " (" << minor_hash << " & "<< major_hash; } - -#if 0 - void OtherInstanceMessageHandler::print_window_info(HWND hwnd) { std::wstring instance_hash = boost::nowide::widen(wxGetApp().get_instance_hash_string()); diff --git a/src/downloader/InstanceSend.hpp b/src/downloader/InstanceSend.hpp index 50f954eb50..88a8ed2ffa 100644 --- a/src/downloader/InstanceSend.hpp +++ b/src/downloader/InstanceSend.hpp @@ -61,7 +61,7 @@ public: //void handle_message_other_closed(); #endif //__APPLE__ #ifdef _WIN32 - static void init_windows_properties(MainFrame* main_frame, size_t instance_hash); + // static void init_windows_properties(MainFrame* main_frame, size_t instance_hash); #endif //WIN32 private: bool m_initialized { false };