diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-20 15:44:20 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-04-20 15:44:20 -0400 |
commit | d263cf7ded76d510addd90b036befd4bb7eea9d1 (patch) | |
tree | 25f8f711f6c2a259cc8ad5c9c0d18a2a89da116c /libs/ardour/import.cc | |
parent | ced4378d0914bcfb926267772c45d1d23f3bed38 (diff) |
remove _file_path member from Evoral::SMF
Diffstat (limited to 'libs/ardour/import.cc')
-rw-r--r-- | libs/ardour/import.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |