Review Request: accept KAssitantDialog when calling next() on last page and if that is valid
Milian Wolff
mail at milianw.de
Mon Aug 29 11:18:03 BST 2011
> On Aug. 29, 2011, 8:42 a.m., Aaron J. Seigo wrote:
> > kdeui/dialogs/kassistantdialog.cpp, lines 118-122
> > <http://git.reviewboard.kde.org/r/102475/diff/1/?file=33190#file33190line118>
> >
> > should probably be changed to use kdelibs style ...
I just used the surrounding code style, but I can change it if you want.
bye
- Milian
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102475/#review6125
-----------------------------------------------------------
On Aug. 28, 2011, 12:51 p.m., Milian Wolff wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102475/
> -----------------------------------------------------------
>
> (Updated Aug. 28, 2011, 12:51 p.m.)
>
>
> Review request for kdelibs.
>
>
> Summary
> -------
>
> The apidox for KAssitantDialog::next says:
>
> /**
> * Called when the user clicks the Next/Finish button.
> *
> * This function will show the next relevant page in the sequence.
> * If the current page is the last page, it will call accept()
> */
>
> The last sentence is actually not true and this patch introduces this behavior.
>
>
> Diffs
> -----
>
> kdeui/dialogs/kassistantdialog.cpp 0cb361a
>
> Diff: http://git.reviewboard.kde.org/r/102475/diff
>
>
> Testing
> -------
>
> You can add this before the "return a.exec();" in kassistantdialogtest.cpp to verify that it now works as intended:
>
> for(int i = 1; i < 11; i++)
> {
> QMetaObject::invokeMethod(dlg, "next", Qt::QueuedConnection);
> }
>
>
>
> Thanks,
>
> Milian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110829/7a510b52/attachment.htm>
More information about the kde-core-devel
mailing list