Review Request: Add 'Open Log Viewer' action to contact list overlay

David Edmundson david at davidedmundson.co.uk
Wed Nov 21 15:23:48 UTC 2012



> On Nov. 21, 2012, 1:56 p.m., David Edmundson wrote:
> > contact-overlays.cpp, line 198
> > <http://git.reviewboard.kde.org/r/107404/diff/1/?file=95635#file95635line198>
> >
> >     You're passing in 0 as the role to check whether logs are enabled or not?
> >     
> >     So it will be enabled if Qt::DisplayRole is set... 
> >     
> >     That doesn't seem right?
> >
> 
> Dan Vrátil wrote:
>     I admit I am lazy and therefore the action is always enabled (and DisplayRole is always valid, right?)

If you're going to do a hack, put a comment in the code explaining it and use Qt::DisplayRole not a 'magic number'

(Otherwise it looks like you're trying to sneak a bodge past me without me noticing!)


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107404/#review22310
-----------------------------------------------------------


On Nov. 21, 2012, 1:34 p.m., Dan Vrátil wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107404/
> -----------------------------------------------------------
> 
> (Updated Nov. 21, 2012, 1:34 p.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Description
> -------
> 
> Everything else is there, why not logviewer? :)
> 
> 
> This addresses bug 304135.
>     http://bugs.kde.org/show_bug.cgi?id=304135
> 
> 
> Diffs
> -----
> 
>   contact-list-widget.cpp 5a0f96d 
>   contact-overlays.h c93d462 
>   contact-overlays.cpp bc2671b 
> 
> Diff: http://git.reviewboard.kde.org/r/107404/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Dan Vrátil
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20121121/b13ad4b7/attachment.html>


More information about the KDE-Telepathy mailing list