aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/about_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-01-10 12:43:50 -0800
committerRoland Knall <rknall@gmail.com>2018-01-11 15:16:54 +0000
commit690f1c3c400f46a19bef82aeeb15210667ad0843 (patch)
tree4e0df8fecd55596f841f73e108dd440d540ad6e1 /ui/qt/about_dialog.h
parent2aa826095739b5357350895b57dd9980fc06f8a0 (diff)
Qt: Adjust About box column sizing.
Setting column sizes when we resize will clobber any adjustments made by the user. Set them when we show the dialog instead. The plugin text varies quite a bit from column to column. Resize each column to its contents instead of setting uniform widths. Change-Id: I1ed9b115665b4dd99a4ff9ee94701f449b8413de Reviewed-on: https://code.wireshark.org/review/25250 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/about_dialog.h')
-rw-r--r--ui/qt/about_dialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/about_dialog.h b/ui/qt/about_dialog.h
index 7aed3e2d57..7bb458f30e 100644
--- a/ui/qt/about_dialog.h
+++ b/ui/qt/about_dialog.h
@@ -87,7 +87,7 @@ public:
~AboutDialog();
protected:
- virtual void resizeEvent(QResizeEvent *);
+ virtual void showEvent(QShowEvent *);
private:
Ui::AboutDialog *ui;