[digikam] [Bug 377197] Customize grouping behaviour [patch]

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Mar 19 08:04:49 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=377197

--- Comment #15 from caulier.gilles at gmail.com ---
"Customize" patch version 4 do not compile. I has fixed this problem in version
3 :

/home/gilles/Devel/5.x/core/app/views/tableview/tableview.cpp: In member
function ‘QList<QAction*> Digikam::TableView::getExtraGroupingActions()’:
/home/gilles/Devel/5.x/core/app/views/tableview/tableview.cpp:301:78: error: no
matching function for call to ‘QAction::QAction(QString)’
     QAction* const actionHideGrouped = new QAction(i18n("Hide grouped
items"));
                                                                              ^
In file included from /usr/lib64/qt5/include/QtWidgets/qmenu.h:40:0,
                 from /usr/lib64/qt5/include/QtWidgets/QMenu:1,
                 from
/home/gilles/Devel/5.x/core/app/views/tableview/tableview.cpp:31:
/usr/lib64/qt5/include/QtWidgets/qaction.h:174:5: note: candidate:
QAction::QAction(QActionPrivate&, QObject*)
     QAction(QActionPrivate &dd, QObject *parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:174:5: note:   candidate expects 2
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:89:5: note: candidate:
QAction::QAction(const QIcon&, const QString&, QObject*)
     QAction(const QIcon &icon, const QString &text, QObject* parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:89:5: note:   candidate expects 3
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:88:5: note: candidate:
QAction::QAction(const QString&, QObject*)
     QAction(const QString &text, QObject* parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:88:5: note:   candidate expects 2
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:87:14: note: candidate:
QAction::QAction(QObject*)
     explicit QAction(QObject* parent);
              ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:87:14: note:   no known conversion
for argument 1 from ‘QString’ to ‘QObject*’
/home/gilles/Devel/5.x/core/app/views/tableview/tableview.cpp:311:78: error: no
matching function for call to ‘QAction::QAction(QString)’
     QAction* const actionIgnoreGrouping = new QAction(i18n("Ignore
grouping"));
                                                                              ^
In file included from /usr/lib64/qt5/include/QtWidgets/qmenu.h:40:0,
                 from /usr/lib64/qt5/include/QtWidgets/QMenu:1,
                 from
/home/gilles/Devel/5.x/core/app/views/tableview/tableview.cpp:31:
/usr/lib64/qt5/include/QtWidgets/qaction.h:174:5: note: candidate:
QAction::QAction(QActionPrivate&, QObject*)
     QAction(QActionPrivate &dd, QObject *parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:174:5: note:   candidate expects 2
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:89:5: note: candidate:
QAction::QAction(const QIcon&, const QString&, QObject*)
     QAction(const QIcon &icon, const QString &text, QObject* parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:89:5: note:   candidate expects 3
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:88:5: note: candidate:
QAction::QAction(const QString&, QObject*)
     QAction(const QString &text, QObject* parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:88:5: note:   candidate expects 2
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:87:14: note: candidate:
QAction::QAction(QObject*)
     explicit QAction(QObject* parent);
              ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:87:14: note:   no known conversion
for argument 1 from ‘QString’ to ‘QObject*’
/home/gilles/Devel/5.x/core/app/views/tableview/tableview.cpp:321:82: error: no
matching function for call to ‘QAction::QAction(QString)’
     QAction* const actionShowSubItems = new QAction(i18n("Show grouping in
tree"));
                                                                               
  ^
In file included from /usr/lib64/qt5/include/QtWidgets/qmenu.h:40:0,
                 from /usr/lib64/qt5/include/QtWidgets/QMenu:1,
                 from
/home/gilles/Devel/5.x/core/app/views/tableview/tableview.cpp:31:
/usr/lib64/qt5/include/QtWidgets/qaction.h:174:5: note: candidate:
QAction::QAction(QActionPrivate&, QObject*)
     QAction(QActionPrivate &dd, QObject *parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:174:5: note:   candidate expects 2
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:89:5: note: candidate:
QAction::QAction(const QIcon&, const QString&, QObject*)
     QAction(const QIcon &icon, const QString &text, QObject* parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:89:5: note:   candidate expects 3
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:88:5: note: candidate:
QAction::QAction(const QString&, QObject*)
     QAction(const QString &text, QObject* parent);
     ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:88:5: note:   candidate expects 2
arguments, 1 provided
/usr/lib64/qt5/include/QtWidgets/qaction.h:87:14: note: candidate:
QAction::QAction(QObject*)
     explicit QAction(QObject* parent);
              ^
/usr/lib64/qt5/include/QtWidgets/qaction.h:87:14: note:   no known conversion
for argument 1 from ‘QString’ to ‘QObject*’
core/app/CMakeFiles/digikamgui_src.dir/build.make:1177: recipe for target
'core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview.cpp.o' failed
make[2]: ***
[core/app/CMakeFiles/digikamgui_src.dir/views/tableview/tableview.cpp.o] Error
1
make[2]: *** Waiting for unfinished jobs....

QAction need a parent in constructor (qt 5.6.2 under Mageia 6)

Gilles

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list