make compile with -pedantic and use foreach in some places

This commit is contained in:
Mathias Panzenböck
2014-02-15 05:13:12 +01:00
parent 5ca0712af2
commit 80351f5504
8 changed files with 46 additions and 153 deletions

View File

@ -157,7 +157,7 @@ void LayoutManager::save() {
//if it's good, start writing the file
if (file.open(QIODevice::WriteOnly)) {
QTextStream stream( &file );
stream << "# "NAME" Layout File\n\n";
stream << "# " NAME " Layout File\n\n";
QHashIterator<int, JoyPad*> it (joypads);
while (it.hasNext())
{