Skip to content

Commit

Permalink
[QgsQuick] Qt6-related updates (#50809)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed Nov 8, 2022
1 parent f2a3db0 commit 89a23fa
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/quickgui/qgsquickmapcanvasmap.cpp
Expand Up @@ -401,7 +401,6 @@ void QgsQuickMapCanvasMap::geometryChange( const QRectF &newGeometry, const QRec
{
QQuickItem::geometryChange( newGeometry, oldGeometry );
#endif
QQuickItem::geometryChanged( newGeometry, oldGeometry );
if ( newGeometry.size() != oldGeometry.size() )
{
mMapSettings->setOutputSize( newGeometry.size().toSize() );
Expand Down
2 changes: 0 additions & 2 deletions src/quickgui/qgsquickmapsettings.cpp
Expand Up @@ -18,9 +18,7 @@
#include "qgsquickmapsettings.h"

#include "qgsmaplayer.h"
#include "qgsmaplayerstylemanager.h"
#include "qgsmessagelog.h"
#include "qgsproject.h"
#include "qgsprojectviewsettings.h"

QgsQuickMapSettings::QgsQuickMapSettings( QObject *parent )
Expand Down
4 changes: 1 addition & 3 deletions src/quickgui/qgsquickmapsettings.h
Expand Up @@ -23,11 +23,9 @@
#include "qgscoordinatetransformcontext.h"
#include "qgsmaplayer.h"
#include "qgsmapsettings.h"
#include "qgsmapthemecollection.h"
#include "qgspoint.h"
#include "qgsrectangle.h"

class QgsProject;
#include "qgsproject.h"

/**
* \ingroup quick
Expand Down
1 change: 0 additions & 1 deletion src/quickgui/qgsquickmaptransform.cpp
Expand Up @@ -14,7 +14,6 @@
***************************************************************************/

#include "qgsquickmaptransform.h"
#include "qgsquickmapsettings.h"

void QgsQuickMapTransform::applyTo( QMatrix4x4 *matrix ) const
{
Expand Down
3 changes: 1 addition & 2 deletions src/quickgui/qgsquickmaptransform.h
Expand Up @@ -20,8 +20,7 @@
#include <QMatrix4x4>

#include "qgis_quick.h"

class QgsQuickMapSettings;
#include "qgsquickmapsettings.h"

/**
* \ingroup quick
Expand Down

0 comments on commit 89a23fa

Please sign in to comment.