Review Request 130109: Workaround to fix PasswordDialog's focus

Anthony Fieroni bvbfan at abv.bg
Wed May 3 10:54:42 UTC 2017


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




kded/passworddialog.cpp (lines 140 - 142)
<https://git.reviewboard.kde.org/r/130109/#comment68661>

    When you define a focusProxy you should setFocus to main dialog i.e. 
    pass = new PasswordDialog(this);
    pass->show();
    pass->raise();
    pass->setFocus();
    http://doc.qt.io/qt-5/qwidget.html#setFocus


- Anthony Fieroni


On Април 28, 2017, 10:27 след обяд, Lamarque Souza wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/130109/
> -----------------------------------------------------------
> 
> (Updated Април 28, 2017, 10:27 след обяд)
> 
> 
> Review request for Network Management and Jan Grulich.
> 
> 
> Bugs: 379279
>     http://bugs.kde.org/show_bug.cgi?id=379279
> 
> 
> Repository: plasma-nm
> 
> 
> Description
> -------
> 
> PasswordField does not get focus in PasswordDialog. Using PasswordField::setFocus() does not work.
> 
> 
> Diffs
> -----
> 
>   kded/passworddialog.cpp 18c686f 
> 
> Diff: https://git.reviewboard.kde.org/r/130109/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Lamarque Souza
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-networkmanager/attachments/20170503/9744a10f/attachment-0001.html>


More information about the kde-networkmanager mailing list