src/gui_editactions.cc

changeset 570
e29a2ab838df
parent 560
39085791128f
child 581
c57ddcaf1b58
equal deleted inserted replaced
569:0d6fce0628fe 570:e29a2ab838df
714 if (!dlg->exec()) 714 if (!dlg->exec())
715 return; 715 return;
716 716
717 // Create the comment object based on input 717 // Create the comment object based on input
718 str commentText = fmt ("!HISTORY %1 [%2] %3", 718 str commentText = fmt ("!HISTORY %1 [%2] %3",
719 ui->m_date->date().toString ("yyyy-MM-dd"), 719 ui->m_date->date().toString ("yyyy-MM-dd"),
720 ui->m_username->text(), 720 ui->m_username->text(),
721 ui->m_comment->text()); 721 ui->m_comment->text());
722 722
723 LDComment* comm = new LDComment (commentText); 723 LDComment* comm = new LDComment (commentText);
724 724
725 // Find a spot to place the new comment 725 // Find a spot to place the new comment
726 for ( 726 for (

mercurial