Review Request 119449: Move compiler related settings to it's own tab & port to QTreeView
Kevin Funk
kfunk at kde.org
Fri Jul 25 13:59:23 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119449/#review63151
-----------------------------------------------------------
languages/plugins/custom-definesandincludes/kcm_widget/compilerswidget.cpp
<https://git.reviewboard.kde.org/r/119449/#comment43914>
Can be simplified:
```
void CompilersWidget::compilerSelected(const QModelIndex& index)
{
auto compiler = index.data(CompilersModel::CompilerDataRole);
...
```
More similar cases in this patch.
(Also gets rid off the one-char variable name)
languages/plugins/custom-definesandincludes/kcm_widget/kcm_customdefinesandincludes.cpp
<https://git.reviewboard.kde.org/r/119449/#comment43915>
'c' -> 'compiler'
- Kevin Funk
On July 25, 2014, 7:26 a.m., Sergey Kalinichev wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119449/
> -----------------------------------------------------------
>
> (Updated July 25, 2014, 7:26 a.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdevelop
>
>
> Description
> -------
>
> Move compiler related settings to it's own tab & port to QTreeView
>
>
> Diffs
> -----
>
> languages/plugins/custom-definesandincludes/kcm_widget/compilersmodel.h 7ad7af8
> languages/plugins/custom-definesandincludes/kcm_widget/compilersmodel.cpp 51edca0
> languages/plugins/custom-definesandincludes/kcm_widget/compilerswidget.h 0fad6dc
> languages/plugins/custom-definesandincludes/kcm_widget/compilerswidget.cpp 3bca90e
> languages/plugins/custom-definesandincludes/kcm_widget/compilerswidget.ui a21d99c
> languages/plugins/custom-definesandincludes/kcm_widget/kcm_customdefinesandincludes.cpp 423da2e
> languages/plugins/custom-definesandincludes/kcm_widget/projectpathswidget.h fb3d1eb
> languages/plugins/custom-definesandincludes/kcm_widget/projectpathswidget.cpp 60165f8
> languages/plugins/custom-definesandincludes/kcm_widget/projectpathswidget.ui 2817b1b
>
> Diff: https://git.reviewboard.kde.org/r/119449/diff/
>
>
> Testing
> -------
>
>
> File Attachments
> ----------------
>
> after.png
> https://git.reviewboard.kde.org/media/uploaded/files/2014/07/24/50328bda-b0c2-495a-a8a4-1c8d3ce5fdce__after.png
> before.png
> https://git.reviewboard.kde.org/media/uploaded/files/2014/07/24/940635ea-e416-4296-9be1-dfacb07a8796__before.png
>
>
> Thanks,
>
> Sergey Kalinichev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140725/19effcc4/attachment.html>
More information about the KDevelop-devel
mailing list