File tree Expand file tree Collapse file tree 2 files changed +23
-8
lines changed
Expand file tree Collapse file tree 2 files changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ void QgsSvgSelectorLoader::loadImages( const QString& path )
133133
134134 // we need to avoid spamming the model with notifications about new svgs, so foundSvgs
135135 // is only emitted for blocks of SVGs (otherwise the view goes all flickery)
136- if ( mTimer .elapsed () > mTimerThreshold )
136+ if ( mTimer .elapsed () > mTimerThreshold && ! mQueuedSvgs . isEmpty () )
137137 {
138138 emit foundSvgs ( mQueuedSvgs );
139139 mQueuedSvgs .clear ();
Original file line number Diff line number Diff line change 66 <rect >
77 <x >0</x >
88 <y >0</y >
9- <width >270 </width >
9+ <width >300 </width >
1010 <height >459</height >
1111 </rect >
1212 </property >
280280 <verstretch >0</verstretch >
281281 </sizepolicy >
282282 </property >
283+ <property name =" iconSize" >
284+ <size >
285+ <width >32</width >
286+ <height >32</height >
287+ </size >
288+ </property >
283289 <property name =" flow" >
284290 <enum >QListView::LeftToRight</enum >
285291 </property >
292+ <property name =" resizeMode" >
293+ <enum >QListView::Adjust</enum >
294+ </property >
286295 <property name =" layoutMode" >
287296 <enum >QListView::Batched</enum >
288297 </property >
298+ <property name =" gridSize" >
299+ <size >
300+ <width >36</width >
301+ <height >36</height >
302+ </size >
303+ </property >
289304 <property name =" viewMode" >
290305 <enum >QListView::IconMode</enum >
291306 </property >
306321 </layout >
307322 </widget >
308323 <customwidgets >
309- <customwidget >
310- <class >QgsColorButton</class >
311- <extends >QToolButton</extends >
312- <header >qgscolorbutton.h</header >
313- <container >1</container >
314- </customwidget >
315324 <customwidget >
316325 <class >QgsDataDefinedButton</class >
317326 <extends >QToolButton</extends >
328337 <header >qgsunitselectionwidget.h</header >
329338 <container >1</container >
330339 </customwidget >
340+ <customwidget >
341+ <class >QgsColorButton</class >
342+ <extends >QToolButton</extends >
343+ <header >qgscolorbutton.h</header >
344+ <container >1</container >
345+ </customwidget >
331346 </customwidgets >
332347 <tabstops >
333348 <tabstop >mTextureWidthSpinBox</tabstop >
You can’t perform that action at this time.
0 commit comments