elvisangelaccio added inline comments.

INLINE COMMENTS

> informationpanelcontent.cpp:113-114
> +    m_configureLabel = new QLabel(i18nc("@label::textbox",
> +                                          "Select which data should "
> +                                          "be shown:"), this);
> +    m_configureLabel->setWordWrap(true);

Why split the i18n sentence into two lines? It looks weird imho.

> informationpanelcontent.cpp:118
> +
> +    m_configureButtons = new 
> QDialogButtonBox(QDialogButtonBox::Save|QDialogButtonBox::Cancel);
> +    m_configureButtons->setVisible(false);

Coding style: missing space before/after `|`

> informationpanelcontent.cpp:122-124
> +                m_configureButtons->setVisible(false);
> +                m_configureLabel->setVisible(false);
> +                emit configurationFinished();

These 3 lines could go in a dedicated function which we could call from both 
lambdas, to avoid code duplication. Or it could even be a private slot 
connected to `QDialogButtonBox::clicked`.

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D20525

To: bruns, #dolphin, #baloo, #frameworks, ngraham, astippich, #vdg, 
elvisangelaccio
Cc: elvisangelaccio, meven, kfm-devel, alexde, feverfew, spoorun, 
navarromorales, firef, andrebarros, emmanuelp, mikesomov

Reply via email to