1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 11:52:08 +01:00

Remove the forced combobox style causing huge performance drawback

This commit is contained in:
Martin Tůma 2021-06-29 21:34:00 +02:00
parent e9220d5526
commit 2f6556dbb3

View File

@ -5,7 +5,6 @@ ProjectionComboBox::ProjectionComboBox(QWidget *parent) : QComboBox(parent)
{ {
setSizeAdjustPolicy(AdjustToMinimumContentsLengthWithIcon); setSizeAdjustPolicy(AdjustToMinimumContentsLengthWithIcon);
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
setStyleSheet("combobox-popup: 0;");
int last = -1; int last = -1;
QList<KV<int, QString> > projections(GCS::list() + PCS::list()); QList<KV<int, QString> > projections(GCS::list() + PCS::list());