diff --git a/mainwindow.cpp b/mainwindow.cpp --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -733,7 +734,8 @@ void MainWindow::messageHandler(QtMsgTyp void MainWindow::takeSnapShot() { qDebug() << "taking a snopshot yay!"; - auto snapShot = new SnapShot(this, "New Snapshot"); + QString name = QTime::currentTime().toString("'Snapshot ['HH:mm:ss']'"); + auto snapShot = new SnapShot(this, name); for (unsigned ci = 0; ci < numOfChannels; ci++) {