mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Remove use of PBD::sys::path from ExportFileNotebook, use Glib equivalent
git-svn-id: svn://localhost/ardour2/branches/3.0@12879 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1844c8b422
commit
9dfb6b7d93
1 changed files with 1 additions and 4 deletions
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
#include "ardour/export_format_specification.h"
|
||||
|
||||
#include "pbd/filesystem.h"
|
||||
|
||||
#include "gui_thread.h"
|
||||
#include "utils.h"
|
||||
#include "i18n.h"
|
||||
|
|
@ -281,8 +279,7 @@ ExportFileNotebook::FilePage::update_example_filename()
|
|||
}
|
||||
|
||||
if (example != "") {
|
||||
sys::path path(example);
|
||||
filename_selector.set_example_filename(path.leaf());
|
||||
filename_selector.set_example_filename(Glib::path_get_basename (example));
|
||||
} else {
|
||||
filename_selector.set_example_filename("");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue