Lykurg/AStylePlugin — pull request #3 by vsimon (2011-12-05 17:08:48+00:00)
Title: Ensure code compiles with Qt Creator 2.4+

Changing this line
- Core::IEditor *editor = em->openEditor(files.at(i), QString(""), 0, &newEditor);

to this line

+ Core::IEditor *editor = em->openEditor(files.at(i), "", 0, &newEditor);

ensures the code compiles on Qt Creator 2.4+. Tested this on Mac OSX platform with Qt Creator 2.4.0.

The "" casts to QString in 2.3.x and lower and Core::Id in 2.4.x+ so this change should be cross-version compatible.