Skip to content

Commit ec41083

Browse files
committed
Rename valid window function
1 parent 1c845cc commit ec41083

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qml/main.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ApplicationWindow {
5555

5656
Component.onCompleted: {
5757
updateTrayVisability()
58-
ensureWindowInValidPosition()
58+
ensureValidWindowPosition()
5959
}
6060

6161
Component.onDestruction: saveScreenLayout()
@@ -345,8 +345,8 @@ ApplicationWindow {
345345
settings.desktopAvailableHeight = Screen.desktopAvailableHeight
346346
}
347347

348-
function ensureWindowInValidPosition() {
349-
// If we have the same desktop(s) dimensions as last time, use the saved position.
348+
function ensureValidWindowPosition() {
349+
// If we have the same desktop dimensions as last time, use the saved position.
350350
// If not, put the window in the middle of the screen.
351351
var savedScreenLayout = (settings.desktopAvailableWidth === Screen.desktopAvailableWidth)
352352
&& (settings.desktopAvailableHeight === Screen.desktopAvailableHeight)

0 commit comments

Comments
 (0)