From d263cf7ded76d510addd90b036befd4bb7eea9d1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 20 Apr 2015 15:44:20 -0400 Subject: remove _file_path member from Evoral::SMF --- libs/ardour/import.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/import.cc') diff --git a/libs/ardour/import.cc b/libs/ardour/import.cc index 3ed028ef91..90a15c9e78 100644 --- a/libs/ardour/import.cc +++ b/libs/ardour/import.cc @@ -417,14 +417,14 @@ write_midi_data_to_new_files (Evoral::SMF* source, ImportStatus& status, break; } } else { - info << string_compose (_("Track %1 of %2 contained no usable MIDI data"), i, source->file_path()) << endmsg; + info << string_compose (_("Track %1 of %2 contained no usable MIDI data"), i, source->num_tracks()) << endmsg; } ++s; // next source } - } catch (...) { - error << string_compose (_("MIDI file %1 was not readable (no reason available)"), source->file_path()) << endmsg; + } catch (exception& e) { + error << string_compose (_("MIDI file could not be written (best guess: %1)"), e.what()) << endmsg; } if (buf) { -- cgit v1.2.3