part two of allow markup to be used in BoolOption items in an option editor
[ardour.git] / gtk2_ardour / export_range_markers_dialog.cc
index c6bf578a329dc947c1b796c09ee2c13d73b13090..4b991629743ca4a598e0fe7c953e7d13cffbcfb3 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <sstream>
 
-#include "pbd/filesystem.h"
-
 #include "ardour/audioengine.h"
 #include "ardour/sndfile_helpers.h"
 
@@ -157,7 +155,7 @@ ExportRangeMarkersDialog::is_filepath_valid(string &filepath)
 
        // directory needs to exist and be writable
        string dirpath = Glib::path_get_dirname (filepath);
-       if (!exists_and_writable (sys::path (dirpath))) {
+       if (!exists_and_writable (dirpath)) {
                string txt = _("Cannot write file in: ") + dirpath;
                MessageDialog msg (*this, txt, false, MESSAGE_ERROR, BUTTONS_OK, true);
                msg.run();