fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+2
-1
@@ -15,6 +15,7 @@
|
||||
#include <QtWidgets/QFileDialog>
|
||||
#include <QtWidgets/QToolButton>
|
||||
#include <QtCore/QTimer>
|
||||
#include <QtCore/QTimeZone>
|
||||
|
||||
|
||||
namespace ScreenRecording
|
||||
@@ -138,7 +139,7 @@ void InterfaceImpl::onUpdateGui()
|
||||
connect(m_timer, &QTimer::timeout, this, [this]()
|
||||
{
|
||||
m_toolBtn->setIcon((m_counter++ % 2) ? m_recIcon : QIcon());
|
||||
m_toolBtn->setToolTip(QDateTime::fromSecsSinceEpoch(m_counter, Qt::UTC).toString(QLatin1String("hh:mm:ss")));
|
||||
m_toolBtn->setToolTip(QDateTime::fromSecsSinceEpoch(m_counter, QTimeZone(0)).toString(QLatin1String("hh:mm:ss")));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user