mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-29 18:04:24 +02:00
Compare commits
7 Commits
11.11
...
38cd871178
Author | SHA1 | Date | |
---|---|---|---|
38cd871178 | |||
5594bf74b6 | |||
65515143eb | |||
29895420b6 | |||
88f7e13500 | |||
51335a0f84 | |||
077cc20934 |
45
.github/workflows/codeql.yml
vendored
Normal file
45
.github/workflows/codeql.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'cpp' ]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install qtbase5-dev qtbase5-private-dev qtbase5-dev-tools qt5-qmake qttools5-dev-tools libqt5opengl5-dev qtpositioning5-dev libqt5svg5-dev
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
|
||||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||
# queries: security-extended,security-and-quality
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v2
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
@ -2397,12 +2397,12 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/temperaturegraph.cpp" line="111"/>
|
||||
<source>C</source>
|
||||
<translation>°C</translation>
|
||||
<translation>C</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/temperaturegraph.cpp" line="115"/>
|
||||
<source>F</source>
|
||||
<translation>°F</translation>
|
||||
<translation>F</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -2410,12 +2410,12 @@
|
||||
<message>
|
||||
<location filename="../src/GUI/temperaturegraphitem.cpp" line="21"/>
|
||||
<source>C</source>
|
||||
<translation>°C</translation>
|
||||
<translation>C</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/temperaturegraphitem.cpp" line="21"/>
|
||||
<source>F</source>
|
||||
<translation>°F</translation>
|
||||
<translation>F</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/GUI/temperaturegraphitem.cpp" line="24"/>
|
||||
|
@ -97,6 +97,7 @@ int ISO8211::readDR(QFile &file, QVector<FieldDefinition> &fields) const
|
||||
QByteArray fieldLen, fieldPos;
|
||||
int len, lenSize, posSize, tagSize, offset;
|
||||
|
||||
static_assert(sizeof(ddr) == 24, "Invalid DR alignment");
|
||||
if (file.read((char*)&ddr, sizeof(ddr)) != sizeof(ddr))
|
||||
return -1;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef SECTION_H
|
||||
#define SECTION_H
|
||||
#ifndef IMG_SECTION_H
|
||||
#define IMG_SECTION_H
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@ -14,4 +14,4 @@ struct Section {
|
||||
|
||||
}
|
||||
|
||||
#endif // SECTION_H
|
||||
#endif // IMG_SECTION_H
|
||||
|
Reference in New Issue
Block a user