equal
deleted
inserted
replaced
107 { |
107 { |
108 QMessageBox::critical(this, |
108 QMessageBox::critical(this, |
109 tr("Error"), |
109 tr("Error"), |
110 tr("Cannot create directory %s").arg("/.hedgewars"), |
110 tr("Cannot create directory %s").arg("/.hedgewars"), |
111 tr("Quit")); |
111 tr("Quit")); |
|
112 return ; |
112 } |
113 } |
113 return ; |
|
114 } |
114 } |
115 cfgdir.cd(".hedgewars"); |
115 cfgdir.cd(".hedgewars"); |
116 |
116 |
117 list = cfgdir.entryList(QStringList("*.cfg")); |
117 list = cfgdir.entryList(QStringList("*.cfg")); |
118 for (QStringList::Iterator it = list.begin(); it != list.end(); ++it ) |
118 for (QStringList::Iterator it = list.begin(); it != list.end(); ++it ) |