Hello community, here is the log from the commit of package fate for openSUSE:Factory checked in at 2017-02-13 07:51:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fate (Old) and /work/SRC/openSUSE:Factory/.fate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fate" Changes: -------- --- /work/SRC/openSUSE:Factory/fate/fate.changes 2017-02-03 17:36:40.393430377 +0100 +++ /work/SRC/openSUSE:Factory/.fate.new/fate.changes 2017-02-13 07:51:03.005704982 +0100 @@ -1,0 +2,10 @@ +Fri Feb 10 17:53:42 UTC 2017 - [email protected] + +- weekend update, pl2 ;-) + * the mouse wheel is now (better) usable in the general tab of + the feature editor + * better label for priority editor table + * bsc#1024737: update fate.desktop file to have official menu + categories listed + +------------------------------------------------------------------- Old: ---- fate-20170131-27be067.tar.bz2 New: ---- fate-20170210-ac378d5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fate.spec ++++++ --- /var/tmp/diff_new_pack.Knrxpi/_old 2017-02-13 07:51:04.297520561 +0100 +++ /var/tmp/diff_new_pack.Knrxpi/_new 2017-02-13 07:51:04.301519991 +0100 @@ -17,8 +17,8 @@ %define baseversion 1.5.5.7 -%define patchlevel .1 -%define snapshot 20170131-27be067 +%define patchlevel .2 +%define snapshot 20170210-ac378d5 Name: fate Version: %{baseversion}%{patchlevel} Release: 0 ++++++ fate-20170131-27be067.tar.bz2 -> fate-20170210-ac378d5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fate-20170131-27be067/src/fate/editor/simpleeditor.cpp new/fate-20170210-ac378d5/src/fate/editor/simpleeditor.cpp --- old/fate-20170131-27be067/src/fate/editor/simpleeditor.cpp 2017-01-31 12:42:53.880633363 +0100 +++ new/fate-20170210-ac378d5/src/fate/editor/simpleeditor.cpp 2017-02-10 13:02:19.189525273 +0100 @@ -59,6 +59,7 @@ #include <QSizePolicy> #include <QString> #include <QVBoxLayout> +#include <QWheelEvent> #define PARTNER_NONE "None" @@ -72,7 +73,7 @@ mDescriptionEdit = addRichTextEditor(i18n("Description")); mPriorityTable = new PriorityTable(mProductMap, NULL); - addLabeledWidget(i18n("Priorities"), mPriorityTable); + addLabeledWidget(i18n("Products &\nPriorities"), mPriorityTable); mPriorityTable->setGeneralPage( this ); connect( mPriorityTable, SIGNAL(modified()), SIGNAL(modified())); @@ -491,6 +492,20 @@ mMaximumLabelWidth = fontMetrics().width("n") * 40; } +bool VerticalPage::eventFilter(QObject *obj, QEvent *event) +{ + Q_UNUSED(obj); + + if (event->type() == QEvent::Wheel) { + // consume the wheelEvent by ourself + wheelEvent(static_cast<QWheelEvent *>(event)); + return true; + } else { + // standard event processing + return false; + } +} + void VerticalPage::setEditorsEnabled(bool on) { @@ -551,6 +566,7 @@ addBorgLabel(labelString, vbox); child->setParent(vbox); boxLayout->addWidget(child, 1); + child->installEventFilter(this); child->show(); mEditors.append(child); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fate-20170131-27be067/src/fate/editor/simpleeditor.h new/fate-20170210-ac378d5/src/fate/editor/simpleeditor.h --- old/fate-20170131-27be067/src/fate/editor/simpleeditor.h 2017-01-31 12:42:53.880633363 +0100 +++ new/fate-20170210-ac378d5/src/fate/editor/simpleeditor.h 2017-02-10 13:02:19.189525273 +0100 @@ -78,6 +78,7 @@ void addLabeledWidget(const QString &labelString, QWidget *child); void addBorgLabel(const QString &labelString, QWidget *box, Qt::Alignment align = Qt::AlignTop); + bool eventFilter(QObject *obj, QEvent *event); protected: QWidget *mViewPort;
