Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
b5f3955c
Unverified
Commit
b5f3955c
authored
Jan 31, 2018
by
Don Gagne
Committed by
GitHub
Jan 31, 2018
Browse files
Merge pull request #6074 from DonLakeFlyer/ClickFocus
Take focus to close editing
parents
dc02d007
71fc1b0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
.appveyor.yml
View file @
b5f3955c
...
...
@@ -15,7 +15,7 @@ environment:
install
:
-
git submodule update --init --recursive
-
call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
-
set PATH=C:\Qt\Tools\QtCreator\bin;C:\Qt\5.9.
2
\msvc2015\bin;%PATH%
-
set PATH=C:\Qt\Tools\QtCreator\bin;C:\Qt\5.9.
3
\msvc2015\bin;%PATH%
-
mkdir %LOCALAPPDATA%\QtProject && copy test\qtlogging.ini %LOCALAPPDATA%\QtProject\
-
ps
:
|
Write-Host "Installing GStreamer..." -ForegroundColor Cyan
...
...
@@ -35,7 +35,7 @@ install:
Write-Host "Installed" -ForegroundColor Green
build_script
:
-
mkdir %SHADOW_BUILD_DIR% && cd %SHADOW_BUILD_DIR% && C:\Qt\5.9.
2
\msvc2015\bin\qmake -r CONFIG-=debug_and_release CONFIG+=%CONFIG% CONFIG+=WarningsAsErrorsOn %APPVEYOR_BUILD_FOLDER%\qgroundcontrol.pro
-
mkdir %SHADOW_BUILD_DIR% && cd %SHADOW_BUILD_DIR% && C:\Qt\5.9.
3
\msvc2015\bin\qmake -r CONFIG-=debug_and_release CONFIG+=%CONFIG% CONFIG+=WarningsAsErrorsOn %APPVEYOR_BUILD_FOLDER%\qgroundcontrol.pro
-
cd %SHADOW_BUILD_DIR% && jom
-
if "%CONFIG%" EQU "installer" ( copy %SHADOW_BUILD_DIR%\release\QGroundControl-installer.exe %APPVEYOR_BUILD_FOLDER%\QGroundControl-installer.exe )
# Generate the source server information to embed in the PDB
...
...
src/PlanView/PlanView.qml
View file @
b5f3955c
...
...
@@ -328,6 +328,9 @@ QGCView {
// than computing the coordinate offset.
anchors.fill
:
parent
onClicked
:
{
// Take focus to close any previous editing
editorMap
.
focus
=
true
//-- Don't pay attention to items beneath the toolbar.
var
topLimit
=
parent
.
height
-
ScreenTools
.
availableHeight
if
(
mouse
.
y
<
topLimit
)
{
...
...
src/VideoStreaming/VideoStreaming.cc
View file @
b5f3955c
...
...
@@ -155,6 +155,8 @@ void initializeVideoStreaming(int &argc, char* argv[], char* logpath, char* debu
#else
Q_UNUSED
(
argc
);
Q_UNUSED
(
argv
);
Q_UNUSED
(
logpath
);
Q_UNUSED
(
debuglevel
);
#endif
qmlRegisterType
<
VideoItem
>
(
"QGroundControl.QgcQtGStreamer"
,
1
,
0
,
"VideoItem"
);
qmlRegisterUncreatableType
<
VideoSurface
>
(
"QGroundControl.QgcQtGStreamer"
,
1
,
0
,
"VideoSurface"
,
QLatin1String
(
"VideoSurface from QML is not supported"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment