mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Fixed build on OS/2
This commit is contained in:
parent
3ae24fd54e
commit
64cea6cfee
2
src/3rdparty/qtlocalpeer.h
vendored
2
src/3rdparty/qtlocalpeer.h
vendored
|
@ -49,7 +49,7 @@
|
|||
#include <QtNetwork/QLocalSocket>
|
||||
#include <QtCore/QDir>
|
||||
|
||||
#ifdef Q_OS_HAIKU
|
||||
#if defined(Q_OS_HAIKU) || defined(Q_OS_OS2)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1682,7 +1682,7 @@ bool QupZilla::quitApp()
|
|||
// Workaround on OS/2 where geometry() is returning bad Y axis (+ 20 pixels)
|
||||
QRect windowGeometry = geometry();
|
||||
windowGeometry.setY(windowGeometry.y() - 20);
|
||||
settings.setValue("WindowGeometry", geometry());
|
||||
settings.setValue("WindowGeometry", windowGeometry);
|
||||
#else
|
||||
settings.setValue("WindowGeometry", geometry());
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user