This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/106118/

On August 27th, 2012, 4:32 p.m., Sebastian Kügler wrote:

mainwindow.cpp (Diff revision 3)
KonsolePreviewer* MainWindow::createKonsoleFor(const QString& projectType, const QString &packagePath)
1022
    if (konsole) {
Why not just } else { ?
Sorry for my late reply but i am/will be very busy for the following days.

Because we always want to clean the tmpFile and to add an objectName.

Also i done that for the consistency of the code. I thought that it would be better to look as much possible as it could with the "createPreviewerFor".

- Antonis


On August 27th, 2012, 4:06 p.m., Antonis Tsiapaliokas wrote:

Review request for kwin, Plasma, Sebastian Kügler, Martin Gräßlin, and Giorgos Tsiapaliwkas.
By Antonis Tsiapaliokas.

Updated Aug. 27, 2012, 4:06 p.m.

Description

Hello,

This patch is adding the konsolepreviewer support to the KWin Scripts.
When the user, is pressing the "Execute" button, then the script is being called.
Also on the toolbar, there is a new action with name "konsole". This action is visible only when we are inside to a KWin Script.
All the other packages, have a previewer. So the "konsole" action is located inside the previewer.

Diffs

  • konsole/konsolepreviewer.h (8dd4369)
  • konsole/konsolepreviewer.cpp (c4f9f8b)
  • main.cpp (298be51)
  • mainwindow.h (8005d26)
  • mainwindow.cpp (b84da4a)
  • plasmateui.rc (b51884d)
  • publisher/remoteinstaller/remoteinstaller.cpp (a54d453)

View Diff

Screenshots

konsole