Review Request 121572: Bug Fix 331791 wish: Add toggle mode or shortcut for brush snap to assistant

Rishabh Saxena rishabh.saxena2112 at gmail.com
Mon Dec 22 17:58:49 GMT 2014



> On Dec. 18, 2014, 7:35 p.m., Dmitry Kazakov wrote:
> > krita/plugins/tools/defaulttools/kis_tool_brush.cc, line 399
> > <https://git.reviewboard.kde.org/r/121572/diff/3/?file=333824#file333824line399>
> >
> >     addAction() accepts the 'id' of the action, which will be use later for accessing it using krita.rc file or via the code that directly fetches the actions from the action collection. This string will never be seen by the user. So it should not be translated. Usually it looks like an c-style valid name:
> >     
> >     e.g.:
> >     
> >     ```c++
> >     KAction *increaseBrushSize = new KAction(i18n("Increase Brush Size"), collection);
> >             increaseBrushSize->setShortcut(Qt::Key_BracketRight);
> >             collection->addAction("increase_brush_size", increaseBrushSize);
> >     ```
> 
> Dmitry Kazakov wrote:
>     The action ID must not be a translatable string

I have made changes in the action ID on updated patch.Please, have a look.


- Rishabh


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


On Dec. 22, 2014, 5:56 p.m., Rishabh Saxena wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121572/
> -----------------------------------------------------------
> 
> (Updated Dec. 22, 2014, 5:56 p.m.)
> 
> 
> Review request for Calligra and Boudewijn Rempt.
> 
> 
> Bugs: 331791
>     http://bugs.kde.org/show_bug.cgi?id=331791
> 
> 
> Repository: calligra
> 
> 
> Description
> -------
> 
> Added a keyboard shortcut for toggling assistant.
> 
> 
> Diffs
> -----
> 
>   krita/plugins/tools/defaulttools/kis_tool_brush.h 16a6acc 
>   krita/plugins/tools/defaulttools/kis_tool_brush.cc a65f618 
> 
> Diff: https://git.reviewboard.kde.org/r/121572/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Rishabh Saxena
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20141222/2ac7a0c6/attachment.htm>


More information about the calligra-devel mailing list