- use less verbose commit time/version string in the window title

Tue, 29 Jul 2014 13:16:48 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Tue, 29 Jul 2014 13:16:48 +0300
changeset 858
b6b1afacb7c1
parent 857
e62983881460
child 859
ebc7a186699c

- use less verbose commit time/version string in the window title

src/mainWindow.cc file | annotate | diff | comparison | revisions
src/version.cc file | annotate | diff | comparison | revisions
--- a/src/mainWindow.cc	Tue Jul 29 13:12:22 2014 +0300
+++ b/src/mainWindow.cc	Tue Jul 29 13:16:48 2014 +0300
@@ -250,7 +250,7 @@
 //
 void MainWindow::updateTitle()
 {
-	QString title = format (APPNAME " %1", fullVersionString());
+	QString title = format (APPNAME " %1", versionString());
 
 	// Append our current file if we have one
 	if (getCurrentDocument())
--- a/src/version.cc	Tue Jul 29 13:12:22 2014 +0300
+++ b/src/version.cc	Tue Jul 29 13:16:48 2014 +0300
@@ -70,7 +70,7 @@
 	if (g_buildTime[0] == '\0')
 	{
 		time_t timestamp = SVN_REVISION_NUMBER;
-		strftime (g_buildTime, sizeof g_buildTime, "%d %b %Y %T", localtime (&timestamp));
+		strftime (g_buildTime, sizeof g_buildTime, "%d %b %Y", localtime (&timestamp));
 	}
 #endif
 

mercurial