Skip to content

Commit

Permalink
Fix use of deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 13, 2019
1 parent e3a6cfa commit 997b07d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/src/core/testqgslayoutcontext.cpp
Expand Up @@ -45,7 +45,6 @@ class TestQgsLayoutContext: public QObject
void renderContextFlags();
void textFormat();
void boundingBoxes();
void exportLayer();
void geometry();
void scales();
void simplifyMethod();
Expand Down Expand Up @@ -213,15 +212,6 @@ void TestQgsLayoutContext::boundingBoxes()
QVERIFY( context.boundingBoxesVisible() );
}

void TestQgsLayoutContext::exportLayer()
{
QgsLayoutRenderContext context( nullptr );
// must default to -1
QCOMPARE( context.currentExportLayer(), -1 );
context.setCurrentExportLayer( 1 );
QCOMPARE( context.currentExportLayer(), 1 );
}

void TestQgsLayoutContext::geometry()
{
QgsProject p;
Expand Down

0 comments on commit 997b07d

Please sign in to comment.