diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-08-09 13:43:09 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-08-09 13:43:09 +0100 |
| commit | 4388fff5376a6e5a6dc8d33e244a1245a728335c (patch) | |
| tree | dcf1d6f8bfcef6b98fe4edd71dac2aebadb4e6bc /src/tools/dcpomatic.cc | |
| parent | 2c47ecfa01206bb295f76d6a8b328c3cc5c4a3cb (diff) | |
Properly remove JSON server; remove some unused usings; remove some unnecessary uses of stringstream.
Diffstat (limited to 'src/tools/dcpomatic.cc')
| -rw-r--r-- | src/tools/dcpomatic.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index aeb62a44e..cd2978052 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -337,13 +337,12 @@ private: void file_changed (boost::filesystem::path f) { - stringstream s; - s << wx_to_std (_("DCP-o-matic")); + string s = wx_to_std (_("DCP-o-matic")); if (!f.empty ()) { - s << " - " << f.string (); + s += " - " + f.string (); } - SetTitle (std_to_wx (s.str())); + SetTitle (std_to_wx (s)); } void file_new () |
