mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Use boost::nowide directly from boost (#9037)
* Use `boost::nowide` directly from boost Cherry-picked from prusa3d/PrusaSlicer@bffa3f8578 Co-authored-by: tamasmeszaros <meszaros.q@gmail.com> * Replaced all occurrences of boost::nowide::narrow for wxStrings with into_u8 Cherry-picked from prusa3d/PrusaSlicer@8d6497297a Co-authored-by: tamasmeszaros <meszaros.q@gmail.com> * Fix flatpak build
This commit is contained in:
@@ -5923,7 +5923,7 @@ void GUI_App::MacOpenURL(const wxString& url)
|
||||
{
|
||||
if (url.empty())
|
||||
return;
|
||||
start_download(boost::nowide::narrow(url));
|
||||
start_download(into_u8(url));
|
||||
}
|
||||
|
||||
// wxWidgets override to get an event on open files.
|
||||
@@ -6685,7 +6685,7 @@ void GUI_App::associate_url(std::wstring url_prefix)
|
||||
}
|
||||
key_full = key_string;
|
||||
#elif defined(__linux__) && defined(SLIC3R_DESKTOP_INTEGRATION)
|
||||
DesktopIntegrationDialog::perform_downloader_desktop_integration(boost::nowide::narrow(url_prefix));
|
||||
DesktopIntegrationDialog::perform_downloader_desktop_integration(into_u8(url_prefix));
|
||||
#endif // WIN32
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user