Review Request 118361: Don't hide Dialog when opening QMenu from it

David Edmundson david at davidedmundson.co.uk
Wed May 28 09:27:26 UTC 2014



> On May 27, 2014, 8:36 p.m., Kai Uwe Broulik wrote:
> > src/plasmaquick/dialog.cpp, line 800
> > <https://git.reviewboard.kde.org/r/118361/diff/1/?file=275561#file275561line800>
> >
> >     Isn't comparison more efficient using QLatin1String?
> 
> Martin Klapetek wrote:
>     Last time I've heard it's not anymore in Qt5 thanks to QStringLiteral...is it still?

Kai is right.
QStringLiteral is just a better replacement for QString::fromUtf8

http://woboq.com/blog/qstringliteral.html


- David


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


On May 27, 2014, 7:13 p.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118361/
> -----------------------------------------------------------
> 
> (Updated May 27, 2014, 7:13 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> When plasmoid in a popup is opening a QMenu, the popup itself hides because it looses focus. This patch fixes it.
> 
> 
> Diffs
> -----
> 
>   src/plasmaquick/dialog.cpp d8e263c 
> 
> Diff: https://git.reviewboard.kde.org/r/118361/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Klapetek
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140528/6e4534fc/attachment.html>


More information about the Plasma-devel mailing list