Move the cursor into the lower right corner on SL
This commit is contained in:
parent
81ad1a18fa
commit
2cd32bf25a
1 changed files with 5 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
#include <QNetworkProxyFactory>
|
#include <QNetworkProxyFactory>
|
||||||
#include <QPalette>
|
#include <QPalette>
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
|
#include <QCursor>
|
||||||
|
|
||||||
// Don't let SDL hook our main function, since Qt is already
|
// Don't let SDL hook our main function, since Qt is already
|
||||||
// doing the same thing. This needs to be before any headers
|
// doing the same thing. This needs to be before any headers
|
||||||
|
|
@ -363,6 +364,10 @@ int main(int argc, char *argv[])
|
||||||
QFont fon("NotoSans");
|
QFont fon("NotoSans");
|
||||||
app.setFont(fon);
|
app.setFont(fon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Move the mouse to the bottom right so it's invisible when using
|
||||||
|
// gamepad-only navigation.
|
||||||
|
QCursor().setPos(0xFFFF, 0xFFFF);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue