Move another print dialog reference outside #ifdef HAVE_LIBPCAP/#endif.
Change-Id: I394360c892ca47772604f1e97a6daa23be49f8b4 Reviewed-on: https://code.wireshark.org/review/32995 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
63ab0264ca
commit
33f12dc05f
|
@ -925,8 +925,8 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
|||
|
||||
#ifdef HAVE_LIBPCAP
|
||||
if (capture_interfaces_dialog_) capture_interfaces_dialog_->close();
|
||||
if (pdlg_) pdlg_->close();
|
||||
#endif
|
||||
if (pdlg_) pdlg_->close();
|
||||
// Make sure we kill any open dumpcap processes.
|
||||
delete welcome_page_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue