Skip to content
Permalink
Browse files

Indentation

  • Loading branch information
nyalldawson committed Jan 30, 2018
1 parent b0d19f7 commit 0a9f019f27538b115899c0f51d3adb7e76fe91ef
@@ -143,7 +143,7 @@ int CALLBACK WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdL
NULL );

std::string message = "Could not load qgis_app.dll \n Windows Error: " + std::string( errorText )
+ "\n Help: \n\n Check " + basename + ".env for correct environment paths";
+ "\n Help: \n\n Check " + basename + ".env for correct environment paths";
showError( message, "Error loading QGIS" );

LocalFree( errorText );
@@ -522,7 +522,7 @@ void TestQgsLayoutMultiFrame::registry()
QVERIFY( registry.itemTypes().isEmpty() );
QVERIFY( !registry.createMultiFrame( 1, nullptr ) );

auto create = []( QgsLayout * layout )->QgsLayoutMultiFrame*
auto create = []( QgsLayout * layout )->QgsLayoutMultiFrame *
{
return new TestMultiFrame( layout );
};
@@ -272,7 +272,7 @@ void TestQgsLayoutView::guiRegistry()
QSignalSpy spyTypeAdded( &registry, &QgsLayoutItemGuiRegistry::typeAdded );

// add a dummy item to registry
auto createWidget = []( QgsLayoutItem * item )->QgsLayoutItemBaseWidget*
auto createWidget = []( QgsLayoutItem * item )->QgsLayoutItemBaseWidget *
{
return new QgsLayoutItemBaseWidget( nullptr, item );
};
@@ -40,6 +40,7 @@ def create_model():


class TestQgsFieldModel(unittest.TestCase):

def testGettersSetters(self):
""" test model getters/setters """
l = create_layer()

0 comments on commit 0a9f019

Please sign in to comment.
You can’t perform that action at this time.