]> granicus.if.org Git - graphviz/commitdiff
Modify confusing version info in gvedit
authorEmden R. Gansner <erg@alum.mit.edu>
Tue, 14 Jan 2014 16:34:22 +0000 (11:34 -0500)
committerEmden R. Gansner <erg@alum.mit.edu>
Tue, 14 Jan 2014 16:34:22 +0000 (11:34 -0500)
cmd/gvedit/mainwindow.cpp

index 9f93cedcff5ea3263c41ddba2361999d72434c84..4f9ed3392018aa85ebc3190fee8d205eafdaa3bd 100644 (file)
@@ -164,7 +164,7 @@ CMainWindow::CMainWindow(char*** Files)
 
     readSettings();
 
-    setWindowTitle(tr("GVEdit For Graphviz ver:1.02"));
+    setWindowTitle(tr("GVEdit"));
     this->resize(1024, 900);
     this->move(0, 0);
     setUnifiedTitleAndToolBarOnMac(true);
@@ -274,9 +274,12 @@ void CMainWindow::slotPaste()
 
 void CMainWindow::slotAbout()
 {
-    QMessageBox::about(this, tr("About GVEdit\n"),
-                      tr("<b>GVEdit</b> Graph File Editor For Graphviz\n"
-                         "Version:1.02"));
+    QString abs (tr("<b>GVEdit</b> Graph File Editor For Graphviz"
+                         "version: 1.02\n"
+                          "Graphviz version: "));
+
+    abs += tr (gvcVersion (frmSettings->gvc));
+    QMessageBox::about(this, tr("About GVEdit\n"), abs);
 }
 
 void CMainWindow::setChild ()