Mercurial > projects > qtd
diff examples/dialogs/classwizard/classwizard_d1.d @ 253:073b9153ed8a
Rev. 264 done right.
Problems:
- classwizard segfaults on exit due to a bug in signals/slots or runtime.
- hellogl doesn't compile with dmd2 due to a bug in the compiler backend
author | maxter |
---|---|
date | Sun, 30 Aug 2009 09:59:12 +0000 |
parents | 06e7d3219464 |
children | 256ab6cb8e85 |
line wrap: on
line diff
--- a/examples/dialogs/classwizard/classwizard_d1.d Sat Aug 22 12:50:58 2009 +0000 +++ b/examples/dialogs/classwizard/classwizard_d1.d Sun Aug 30 09:59:12 2009 +0000 @@ -139,7 +139,7 @@ block ~= "#endif\n"; } - auto headerFile = new QFile(outputDir ~ "/" ~ header); + scope headerFile = new QFile(outputDir ~ "/" ~ header); if (!headerFile.open(QFile.WriteOnly | QFile.Text)) { QMessageBox.warning(null, tr("Simple Wizard"), Format(tr("Cannot write file {}:\n{}"), @@ -193,7 +193,7 @@ } } - auto implementationFile = new QFile(outputDir ~ "/" ~ implementation); + scope implementationFile = new QFile(outputDir ~ "/" ~ implementation); if (!implementationFile.open(QFile.WriteOnly | QFile.Text)) { QMessageBox.warning(null, tr("Simple Wizard"), Format(tr("Cannot write file {}:\n{}"),