1
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:
nowrep 2012-02-01 18:31:50 +01:00
parent 3ae24fd54e
commit 64cea6cfee
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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