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

startpage.cpp (Diff revision 1)
void StartPage::loadLocalProject()
550
    if (!QFile::exists(path + '/' + PROJECTRC)) {
551
        QFile rcfile(path + '/' + PROJECTRC);
552
        rcfile.open(QIODevice::ReadWrite);
553
        rcfile.close();
554
    }
555
this should remain, so that opening a project that doesn't have the rc file gets one. best might be to move this code into a method called something like "ensureProjectrcFileExists()" and then call it from both of these places.

- Aaron J.


On September 29th, 2011, 8:51 a.m., Giorgos Tsiapaliwkas wrote:

Review request for Plasma.
By Giorgos Tsiapaliwkas.

Updated Sept. 29, 2011, 8:51 a.m.

Description

Hello,

for the moment the .plasmateprojectrc file exists as a mark for the projects created by plasmate.
We want the file to be created in the creation of the project not in the load of the project,the patch does that.

cheers

Testing

workinig

Diffs

  • startpage.cpp (fc00441)

View Diff