File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 25
25
#include < QProcessEnvironment>
26
26
#include < QPushButton>
27
27
#include < QRadioButton>
28
+ #include < QScreen>
28
29
#include < QShortcut>
29
30
#include < QSpinBox>
30
31
#include < QTabWidget>
@@ -1365,7 +1366,7 @@ void main_window::center_at_startup_if_needed()
1365
1366
Qt::LeftToRight,
1366
1367
Qt::AlignCenter,
1367
1368
size (),
1368
- qApp->desktop ()->availableGeometry ()
1369
+ qApp->primaryScreen ()->availableGeometry ()
1369
1370
)
1370
1371
);
1371
1372
}
Original file line number Diff line number Diff line change @@ -1802,7 +1802,7 @@ tic_error * tic_halt_and_hold(tic_handle *);
1802
1802
1803
1803
/// Sends a "Go Home" command, starting the Tic's homing procedure.
1804
1804
///
1805
- /// The direcition argument should be 1 for forward or 0 for reverse.
1805
+ /// The direction argument should be 1 for forward or 0 for reverse.
1806
1806
TIC_API TIC_WARN_UNUSED
1807
1807
tic_error * tic_go_home (tic_handle * , uint8_t direction );
1808
1808
You can’t perform that action at this time.
0 commit comments