trying to force second window to use the right screen
This commit is contained in:
parent
e05beb3857
commit
edc0af3690
2 changed files with 6 additions and 3 deletions
|
@ -188,7 +188,11 @@ Controls.Page {
|
||||||
if (present)
|
if (present)
|
||||||
{
|
{
|
||||||
presentation.loadVideo();
|
presentation.loadVideo();
|
||||||
|
pWindow.screen = presentationScreen;
|
||||||
|
print("For window: Screen is: " + pWindow.screen + " And selected screen is: " + presentationScreen);
|
||||||
pWindow.showFullScreen();
|
pWindow.showFullScreen();
|
||||||
|
pWindow.screen = presentationScreen;
|
||||||
|
print("For window: Screen is: " + pWindow.screen + " And selected screen is: " + presentationScreen);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
pWindow.close();
|
pWindow.close();
|
||||||
|
|
|
@ -15,7 +15,8 @@ Window {
|
||||||
screen: presentationScreen
|
screen: presentationScreen
|
||||||
opacity: 1.0
|
opacity: 1.0
|
||||||
transientParent: null
|
transientParent: null
|
||||||
/* flags: Qt.X11BypassWindowManagerHint */
|
modality: Qt.NonModal
|
||||||
|
flags: Qt.FramelessWindowHint
|
||||||
onClosing: {
|
onClosing: {
|
||||||
presentationSlide.stopVideo();
|
presentationSlide.stopVideo();
|
||||||
SlideObject.pause();
|
SlideObject.pause();
|
||||||
|
@ -23,9 +24,7 @@ Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
/* presentationWindow.showFullScreen(); */
|
|
||||||
print(screen.name);
|
print(screen.name);
|
||||||
showMinimized();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Presenter.Slide {
|
Presenter.Slide {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue