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 ...@@ -13,6 +13,7 @@ mainqml.path = /usr/share/glacier-components/qml
qml.files += \ qml.files += \
content/AndroidDelegate.qml \ content/AndroidDelegate.qml \
content/ButtonPage.qml \ content/ButtonPage.qml \
content/BrokenPage.qml \
content/ProgressBarPage.qml \ content/ProgressBarPage.qml \
content/SliderPage.qml \ content/SliderPage.qml \
content/TabBarPage.qml \ content/TabBarPage.qml \
......
...@@ -32,7 +32,6 @@ bool EditFilter::eventFilter(QObject *obj, QEvent *event) ...@@ -32,7 +32,6 @@ bool EditFilter::eventFilter(QObject *obj, QEvent *event)
nemoFocus->edit()->setProperty("focus",QVariant(false)); nemoFocus->edit()->setProperty("focus",QVariant(false));
return false; return false;
} }
} else {
return QObject::eventFilter(obj, event);
} }
return QObject::eventFilter(obj, event);
} }
...@@ -35,7 +35,7 @@ public: ...@@ -35,7 +35,7 @@ public:
private: private:
QObject *m_edit = nullptr; QObject *m_edit = nullptr;
NemoFocusSingleton(QObject* parent = nullptr) {} NemoFocusSingleton(QObject* parent = nullptr) {Q_UNUSED(parent)}
}; };
#endif // NEMOFOCUSSINGLETON_H #endif // NEMOFOCUSSINGLETON_H
...@@ -75,6 +75,8 @@ void QQuickFilteringMouseArea::mouseReleaseEvent(QMouseEvent *event) { ...@@ -75,6 +75,8 @@ void QQuickFilteringMouseArea::mouseReleaseEvent(QMouseEvent *event) {
} }
bool QQuickFilteringMouseArea::sendMouseEvent(QQuickItem *item, QMouseEvent *event) { bool QQuickFilteringMouseArea::sendMouseEvent(QQuickItem *item, QMouseEvent *event) {
Q_UNUSED(item);
QPointF localPos = mapFromScene(event->windowPos()); QPointF localPos = mapFromScene(event->windowPos());
QQuickWindow *c = window(); QQuickWindow *c = window();
QQuickItem *grabber = c ? c->mouseGrabberItem() : 0; QQuickItem *grabber = c ? c->mouseGrabberItem() : 0;
......
...@@ -15,6 +15,7 @@ Sizing::Sizing(QObject *parent) : QObject(parent) ...@@ -15,6 +15,7 @@ Sizing::Sizing(QObject *parent) : QObject(parent)
qreal refHeight = 854.; //N9 qreal refHeight = 854.; //N9
qreal refWidth = 480.; //N9 qreal refWidth = 480.; //N9
qreal refDpi = 251; //N9 qreal refDpi = 251; //N9
Q_UNUSED(refDpi);
m_p_height = qgetenv("QT_QPA_EGLFS_PHYSICAL_HEIGHT").toInt(); m_p_height = qgetenv("QT_QPA_EGLFS_PHYSICAL_HEIGHT").toInt();
m_p_width = qgetenv("QT_QPA_EGLFS_PHYSICAL_WIDTH").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