projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Note and indicate servers with bad link version (#982).
[dcpomatic.git]
/
src
/
wx
/
server_dialog.cc
diff --git
a/src/wx/server_dialog.cc
b/src/wx/server_dialog.cc
index f5983b4cdfbb534c2681036fce008b4136c87c65..abad589891231e0de8e876039df6b03424e43855 100644
(file)
--- a/
src/wx/server_dialog.cc
+++ b/
src/wx/server_dialog.cc
@@
-24,6
+24,7
@@
using std::string;
using boost::shared_ptr;
using std::string;
using boost::shared_ptr;
+using boost::optional;
ServerDialog::ServerDialog (wxWindow* parent)
: TableDialog (parent, _("Server"), 2, 1, true)
ServerDialog::ServerDialog (wxWindow* parent)
: TableDialog (parent, _("Server"), 2, 1, true)
@@
-48,7
+49,7
@@
ServerDialog::set (string server)
_host->SetValue (std_to_wx (server));
}
_host->SetValue (std_to_wx (server));
}
-string
+optional<string>
ServerDialog::get () const
{
return wx_to_std (_host->GetValue ());
ServerDialog::get () const
{
return wx_to_std (_host->GetValue ());