Skip to content

Commit

Permalink
gui: fix building with Visual Studio 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
bk138 committed Jan 5, 2025
1 parent 32e2850 commit 61c30be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/MyFrameMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1711,7 +1711,7 @@ void MyFrameMain::bookmarks_add(wxCommandEvent &event)
#if wxUSE_SECRETSTORE
wxSecretStore store = wxSecretStore::GetDefault();
if(store.IsOk() && c->getPassword().IsOk()) { //check if destination and source are ok
if(!store.Save("MultiVNC/Bookmarks/" + (c->getUserName().IsEmpty() ? "" : c->getUserName() + "@") + c->getServerHost() + ":" + c->getServerPort(), c->getUserName(), c->getPassword())) //FIXME the service should use the user-given bookmark name, but that requires a rework of our internal bookmarking
if(!store.Save("MultiVNC/Bookmarks/" + wxString(c->getUserName().IsEmpty() ? "" : c->getUserName() + "@") + c->getServerHost() + ":" + c->getServerPort(), c->getUserName(), c->getPassword())) //FIXME the service should use the user-given bookmark name, but that requires a rework of our internal bookmarking
wxLogWarning(_("Failed to save credentials to the system secret store."));
}
#endif
Expand Down

0 comments on commit 61c30be

Please sign in to comment.