Skip to content

Commit

Permalink
fix string type
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Oct 27, 2024
1 parent f1f284c commit 0df5ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ovbox.cc
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void ovboxgui_t::on_hide()
void ovboxgui_t::on_uiurl_clicked()
{
#ifdef __APPLE__
TASCAR::system("open " + ui_url, false);
TASCAR::system(std::string("open " + ui_url).c_str(), false);
#else
gtk_show_uri(NULL, ui_url.c_str(), GDK_CURRENT_TIME, NULL);
#endif
Expand All @@ -145,7 +145,7 @@ void ovboxgui_t::on_mixer_clicked()
{
std::string url("http://" + ep2ipstr(getipaddr()) + ":8080/");
#ifdef __APPLE__
TASCAR::system("open " + url, false);
TASCAR::system(std::string("open " + url).c_str(), false);
#else
gtk_show_uri(NULL, url.c_str(), GDK_CURRENT_TIME, NULL);
#endif
Expand Down

0 comments on commit 0df5ba9

Please sign in to comment.