mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 00:47:43 +01:00
last_modified should eb initialized with the current program name, and then overwitten later
This commit is contained in:
parent
7486b0b7fc
commit
6163e272eb
1 changed files with 2 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ MixerSnapshot::MixerSnapshot(Session* s)
|
|||
, label("snapshot")
|
||||
, timestamp(time(0))
|
||||
, favorite(false)
|
||||
, last_modified_with("")
|
||||
, last_modified_with(string_compose("%1 %2", PROGRAM_NAME, revision))
|
||||
{
|
||||
if(s)
|
||||
_session = s;
|
||||
|
|
@ -36,13 +36,11 @@ MixerSnapshot::MixerSnapshot(Session* s, string file_path)
|
|||
, label("snapshot")
|
||||
, timestamp(time(0))
|
||||
, favorite(false)
|
||||
, last_modified_with("")
|
||||
, last_modified_with(string_compose("%1 %2", PROGRAM_NAME, revision))
|
||||
{
|
||||
if(s)
|
||||
_session = s;
|
||||
|
||||
last_modified_with = string_compose("%1 %2", PROGRAM_NAME, revision);
|
||||
|
||||
if(Glib::file_test(file_path.c_str(), Glib::FILE_TEST_IS_DIR))
|
||||
load_from_session(file_path);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue