diff confirmcommentdialog.cpp @ 103:0bd32aedc6f6

* Start to use the confirm-comment dialog for commits; much work still needed
author Chris Cannam
date Wed, 24 Nov 2010 22:44:40 +0000
parents f70ccc15c9d0
children af314dd436d5
line wrap: on
line diff
--- a/confirmcommentdialog.cpp	Wed Nov 24 22:24:55 2010 +0000
+++ b/confirmcommentdialog.cpp	Wed Nov 24 22:44:40 2010 +0000
@@ -55,11 +55,11 @@
     QString text;
     if (files.size() <= 10) {
         text = "<qt>" + introText;
-        text += "<code>";
+        text += "<p><ul>";
         foreach (QString file, files) {
-            text += file + "<br>";
+            text += "<li>" + file + "</li>";
         }
-        text += "</code></qt>";
+        text += "</ul><p>Please enter your comment:</qt>";
     } else {
         text = "<qt>" + introText.arg(files.size());
     }
@@ -72,6 +72,7 @@
                                              QString &comment)
 {
     bool ok = false;
+    //!!! ok, for comments need more than one line
     comment = QInputDialog::getText(parent, title, introText,
                                     QLineEdit::Normal, comment, &ok);
     return ok;