fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+2
-1
@@ -26,6 +26,7 @@
|
||||
#include <QSignalBlocker>
|
||||
#include <QtCore/QStringList>
|
||||
#include <QtCore/QVector>
|
||||
#include <QtCore/QTimeZone>
|
||||
#include <QtGlobal>
|
||||
#include <ngltools/ngltools_dtg.h>
|
||||
#include <utility>
|
||||
@@ -156,7 +157,7 @@ class AvmPlaybackMenu::TimeControl : public QObject
|
||||
QString msecsSinceEpochToString(qint64 msecs)
|
||||
{
|
||||
return dateTimeToString(
|
||||
QDateTime::fromMSecsSinceEpoch(msecs, Qt::TimeSpec::OffsetFromUTC, m_timezoneHoursOffset * 3600));
|
||||
QDateTime::fromMSecsSinceEpoch(msecs, QTimeZone(m_timezoneHoursOffset * 3600)));
|
||||
}
|
||||
|
||||
void setTimezoneHoursOffset(int timezoneHoursOffset)
|
||||
|
||||
+2
-5
@@ -35,11 +35,8 @@ set(SRCS
|
||||
# which needs to be built on SV, too.
|
||||
#
|
||||
NGL_ADD_LIBRARY2(WS AvmShared SHARED ${SRCS})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(AvmShared
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Services/
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../../Common/
|
||||
)
|
||||
# NGL_TARGET_INCLUDE_DIRECTORIES(AvmShared) removed: ../../Services and ../../Common do not
|
||||
# exist at those relative paths (pre-existing -Wmissing-include-dirs warnings); nothing includes from them.
|
||||
if(QT6_GUI_AVAILABLE)
|
||||
NGL_TARGET_LINK_LIBRARIES(AvmShared
|
||||
PUBLIC
|
||||
|
||||
Reference in new issue
Block a user