mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Use std::string and Glib::build_filename in UIConfiguration::save_state
git-svn-id: svn://localhost/ardour2/branches/3.0@12904 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
218b63cc37
commit
3959e5bf02
1 changed files with 2 additions and 5 deletions
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "pbd/failed_constructor.h"
|
||||
#include "pbd/xml++.h"
|
||||
#include "pbd/filesystem.h"
|
||||
#include "pbd/file_utils.h"
|
||||
#include "pbd/error.h"
|
||||
|
||||
|
|
@ -160,10 +159,8 @@ UIConfiguration::save_state()
|
|||
{
|
||||
XMLTree tree;
|
||||
|
||||
sys::path rcfile_path(user_config_directory());
|
||||
|
||||
rcfile_path /= "ardour3_ui.conf";
|
||||
const string rcfile = rcfile_path.to_string();
|
||||
std::string rcfile(user_config_directory());
|
||||
rcfile = Glib::build_filename (rcfile, "ardour3_ui.conf");
|
||||
|
||||
// this test seems bogus?
|
||||
if (rcfile.length()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue