Review Request 119126: KMimeTypeChooser: hide Edit button if keditfiletype5 isn't found.
Mark Gaiser
markg85 at gmail.com
Sat Jul 5 11:28:24 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119126/#review61641
-----------------------------------------------------------
src/kmimetypechooser.cpp
<https://git.reviewboard.kde.org/r/119126/#comment42894>
static const QString s_keditfiletypeExecutable = QStringLiteral("keditfiletype5");
Then you can just use s_keditfiletypeExecutable directly instead of QString::fromLatin1... which makes the arguments a bit shorter
- Mark Gaiser
On July 5, 2014, 10:30 a.m., David Faure wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119126/
> -----------------------------------------------------------
>
> (Updated July 5, 2014, 10:30 a.m.)
>
>
> Review request for KDE Frameworks, Christoph Feck and Jonathan Riddell.
>
>
> Repository: kwidgetsaddons
>
>
> Description
> -------
>
> KMimeTypeChooser: hide Edit button if keditfiletype5 isn't found.
>
>
> Diffs
> -----
>
> src/kmimetypechooser.cpp 3caf6fa95ace370fc14721fbfa7eb1aa782489a0
>
> Diff: https://git.reviewboard.kde.org/r/119126/diff/
>
>
> Testing
> -------
>
> ./tests/kmimetypechoosertest, before and after removing the keditfiletype5 binary.
>
>
> Thanks,
>
> David Faure
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140705/b93e1587/attachment.html>
More information about the Kde-frameworks-devel
mailing list