diff --git a/src/platform/qt/GamePakView.cpp b/src/platform/qt/GamePakView.cpp index 2984efd0e..0a620ad7e 100644 --- a/src/platform/qt/GamePakView.cpp +++ b/src/platform/qt/GamePakView.cpp @@ -34,6 +34,9 @@ GamePakView::GamePakView(GameController* controller, QWidget* parent) connect(m_ui.time, &QDateTimeEdit::dateTimeChanged, [controller, this] (const QDateTime&) { m_ui.timeButtons->checkedButton()->clicked(); }); + connect(m_ui.timeNow, &QPushButton::clicked, [controller, this] () { + m_ui.time->setDateTime(QDateTime::currentDateTime()); + }); if (controller->isLoaded()) { gameStarted(controller->thread()); diff --git a/src/platform/qt/GamePakView.ui b/src/platform/qt/GamePakView.ui index a5588820d..c7c564a6f 100644 --- a/src/platform/qt/GamePakView.ui +++ b/src/platform/qt/GamePakView.ui @@ -6,8 +6,8 @@ 0 0 - 247 - 345 + 259 + 373 @@ -149,8 +149,18 @@ RTC - - + + + + + Start time at + + + timeButtons + + + + System time @@ -163,7 +173,7 @@ - + Fixed time @@ -173,17 +183,7 @@ - - - - Start time at - - - timeButtons - - - - + true @@ -213,6 +213,13 @@ + + + + Now + + +