summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt/main_window.cpp3
-rw-r--r--ui/qt/main_window.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index bbeb59ddf5..a37731ce11 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -2149,9 +2149,10 @@ void MainWindow::changeEvent(QEvent* event)
QMainWindow::changeEvent(event);
}
-void MainWindow::resizeEvent(QResizeEvent *)
+void MainWindow::resizeEvent(QResizeEvent *event)
{
df_combo_box_->setMinimumWidth(width() * 2 / 3); // Arbitrary
+ QMainWindow::resizeEvent(event);
}
/* Update main window items based on whether there's a capture in progress. */
diff --git a/ui/qt/main_window.h b/ui/qt/main_window.h
index f1f84f4c1e..913cad83f5 100644
--- a/ui/qt/main_window.h
+++ b/ui/qt/main_window.h
@@ -615,7 +615,7 @@ private slots:
void on_actionContextFilterFieldReference_triggered();
virtual void changeEvent(QEvent* event);
- virtual void resizeEvent(QResizeEvent *);
+ virtual void resizeEvent(QResizeEvent *event);
#ifdef HAVE_EXTCAP
void extcap_options_finished(int result);