Drop accidentally committed code

This commit is contained in:
Michael Zanetti 2019-03-04 10:21:28 +01:00
parent 08b70f3bdb
commit 08b42b8505
2 changed files with 0 additions and 18 deletions

View File

@ -1,22 +1,6 @@
#include "platformhelper.h"
#include <QtGui/qpa/qplatformwindow.h>
PlatformHelper::PlatformHelper(QObject *parent) : QObject(parent)
{
}
QVariantMap PlatformHelper::getSafeAreaMargins(QQuickWindow *window)
{
// QPlatformWindow *platformWindow = window->handle();
// QMargins margins = platformWindow->safeAreaMargins();
QVariantMap map;
// map["top"] = margins.top();
// map["right"] = margins.right();
// map["bottom"] = margins.bottom();
// map["left"] = margins.left();
return map;
}

View File

@ -2,7 +2,6 @@
#define PLATFORMHELPER_H
#include <QObject>
#include <QQuickWindow>
class PlatformHelper : public QObject
{
@ -36,7 +35,6 @@ public:
Q_INVOKABLE virtual void vibrate(HapticsFeedback feedbackType) = 0;
Q_INVOKABLE QVariantMap getSafeAreaMargins(QQuickWindow *window);
signals:
void permissionsRequestFinished();
};