diff --git a/exportcsv.ui b/exportcsv.ui index 970292e9..85626d11 100644 --- a/exportcsv.ui +++ b/exportcsv.ui @@ -53,7 +53,7 @@ - Summary + Daily true diff --git a/mainwindow.cpp b/mainwindow.cpp index d9920b1f..433f04cc 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -343,12 +343,15 @@ void MainWindow::on_webView_loadProgress(int progress) void MainWindow::on_action_About_triggered() { - QString msg=tr("

SleepyHead v%1.%2.%3

Build Date: %4 %5
Revision: %6
" + QString gitrev=QString(GIT_REVISION); + if (!gitrev.isEmpty()) gitrev="Revision: "+gitrev; + + QString msg=tr("

SleepyHead v%1.%2.%3

Build Date: %4 %5
%6
" "Copyright ©2011 Mark Watkins (jedimark)
\n" "http://sleepyhead.sourceforge.net
" "This software is released under the GNU Public License
" "This software comes with absolutely no warranty, either express of implied. It comes with no guarantee of fitness for any particular purpose. No guarantees are made regarding the accuracy of any data this program displays." - "
").arg(major_version).arg(minor_version).arg(revision_number).arg(__DATE__).arg(__TIME__).arg(GIT_REVISION); + "
").arg(major_version).arg(minor_version).arg(revision_number).arg(__DATE__).arg(__TIME__).arg(gitrev); QMessageBox msgbox(QMessageBox::Information,tr("About SleepyHead"),"",QMessageBox::Ok,this); msgbox.setTextFormat(Qt::RichText); msgbox.setText(msg);