Date: Sun, 15 Sep 2002 08:39:25 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 17522 for review Message-ID: <200209151539.g8FFdPBP000787@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17522 Change 17522 by rwatson@rwatson_paprika on 2002/09/15 08:39:20 After generating a close() event, return from the constructor rather than allowing it to continue. Remove an extraneous printf. Affected files ... .. //depot/projects/trustedbsd/misc/kmlsinstall/kmlsinstaller.cc#3 edit Differences ... ==== //depot/projects/trustedbsd/misc/kmlsinstall/kmlsinstaller.cc#3 (text+ko) ==== @@ -158,17 +158,16 @@ int new_center_x, new_center_y; - printf("x: %d, y: %d\n", mainwindow_size.width(), - mainwindow_size.height()); - new_center_x = mainwindow_size.width() / 2 + this->x(); new_center_y = mainwindow_size.height() / 2 + this->y(); wizard->move(new_center_x - (dialog_size.width() / 2), new_center_y - (dialog_size.height() / 2)); - if (wizard->exec() == FALSE) + if (wizard->exec() == FALSE) { close(); + return; + } /* * Don't permit the window to be closed from here until the To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209151539.g8FFdPBP000787>