> On March 15, 2015, 11:10 a.m., Bhushan Shah wrote:
> > Umm; this seems to break source compatibilty maybe? For example 
> > plasma-workspace Plasma/5.2 branch which compiled with older revisions fine 
> > seems to fail with this commit
> > 
> > 23:07:43 Building CXX object 
> > applets/systemtray/plugin/CMakeFiles/systemtrayplugin.dir/tasklistmodel.cpp.o
> > 23:07:44 [ 74%] 
> > /srv/jenkins/workspace/plasma-workspace_stable_qt5/build/dataengines/applicationjobs/jobviewadaptor.cpp:
> >  In member function ‘void JobViewV2Adaptor::setError(uint)’:
> > 23:07:44 
> > /srv/jenkins/workspace/plasma-workspace_stable_qt5/build/dataengines/applicationjobs/jobviewadaptor.cpp:57:15:
> >  error: ‘class JobView’ has no member named ‘setError’
> > 23:07:44      parent()->setError(errorCode);
> > 23:07:44                ^
> > 
> > See http://build.kde.org/job/plasma-workspace_stable_qt5/89/console

It does break source compatibility when used with qt5_add_dbus_adaptor, 
unfortunately.
It can be fixed in plasma-workspace by adding an empty setError(uint) method to 
classes using the adaptor, or revert this commit and introduce a JobViewV3.


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122926/#review77503
-----------------------------------------------------------


On March 13, 2015, 7:26 p.m., David Rosca wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122926/
> -----------------------------------------------------------
> 
> (Updated March 13, 2015, 7:26 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kjobwidgets
> 
> 
> Description
> -------
> 
> Currently, there is no way to retrieve value of KJob::error().
> This patch adds a setError method to JobViewV2 interface that fixes the issue.
> 
> This is needed to correctly handle job errors in notifications plasmoid.
> If this gets accepted, I will create a review request for plasma-workspace 
> (changes in kuiserver, dataengine and notifications plasmoid).
> 
> 
> Diffs
> -----
> 
>   src/kuiserverjobtracker.cpp 191359b 
>   src/org.kde.JobViewV2.xml cacb5e8 
> 
> Diff: https://git.reviewboard.kde.org/r/122926/diff/
> 
> 
> Testing
> -------
> 
> Works fine with patched plasma-workspace
> 
> 
> Thanks,
> 
> David Rosca
> 
>

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to