r24285 by craig - Update for screen call
scribus-commit
scribus-commit at lists.scribus.net
Tue Nov 24 21:11:26 UTC 2020
Author: craig
Date: Tue Nov 24 21:11:26 2020
New Revision: 24285
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24285
Log:
Update for screen call
Modified:
trunk/Scribus/scribus/ui/storyeditor.cpp
Modified: trunk/Scribus/scribus/ui/storyeditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24285&path=/trunk/Scribus/scribus/ui/storyeditor.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/storyeditor.cpp (original)
+++ trunk/Scribus/scribus/ui/storyeditor.cpp Tue Nov 24 21:11:26 2020
@@ -1645,7 +1645,7 @@
int vwidth = qMax(600, prefs->getInt("width", 600));
int vheight = qMax(400, prefs->getInt("height", 400));
// Check values against current screen size
- QRect scr = ScCore->primaryMainWindow()->getScreen()->geometry();
+ QRect scr = this->screen()->geometry();
if ( vleft >= scr.width() )
vleft = 0;
if ( vtop >= scr.height() )
More information about the scribus-commit
mailing list