Commit 8a527053 authored by Sergey Chupligin's avatar Sergey Chupligin Committed by Sergey Chupligin

[packaging] Fix warnings

parent 865503d5
......@@ -13,6 +13,7 @@ mainqml.path = /usr/share/glacier-components/qml
qml.files += \
content/AndroidDelegate.qml \
content/ButtonPage.qml \
content/BrokenPage.qml \
content/ProgressBarPage.qml \
content/SliderPage.qml \
content/TabBarPage.qml \
......
......@@ -32,7 +32,6 @@ bool EditFilter::eventFilter(QObject *obj, QEvent *event)
nemoFocus->edit()->setProperty("focus",QVariant(false));
return false;
}
} else {
return QObject::eventFilter(obj, event);
}
return QObject::eventFilter(obj, event);
}
......@@ -35,7 +35,7 @@ public:
private:
QObject *m_edit = nullptr;
NemoFocusSingleton(QObject* parent = nullptr) {}
NemoFocusSingleton(QObject* parent = nullptr) {Q_UNUSED(parent)}
};
#endif // NEMOFOCUSSINGLETON_H
......@@ -75,6 +75,8 @@ void QQuickFilteringMouseArea::mouseReleaseEvent(QMouseEvent *event) {
}
bool QQuickFilteringMouseArea::sendMouseEvent(QQuickItem *item, QMouseEvent *event) {
Q_UNUSED(item);
QPointF localPos = mapFromScene(event->windowPos());
QQuickWindow *c = window();
QQuickItem *grabber = c ? c->mouseGrabberItem() : 0;
......
......@@ -15,6 +15,7 @@ Sizing::Sizing(QObject *parent) : QObject(parent)
qreal refHeight = 854.; //N9
qreal refWidth = 480.; //N9
qreal refDpi = 251; //N9
Q_UNUSED(refDpi);
m_p_height = qgetenv("QT_QPA_EGLFS_PHYSICAL_HEIGHT").toInt();
m_p_width = qgetenv("QT_QPA_EGLFS_PHYSICAL_WIDTH").toInt();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment