Skip to content

Commit fe6a8a3

Browse files
committedOct 3, 2012
Work around for issue migrating 0.9.2 qml files to 0.10.0
1 parent f9f5448 commit fe6a8a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/core/qgsprojectfiletransform.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ QgsProjectFileTransform::transform QgsProjectFileTransform::transformers[] =
3838
{PFV( 0, 8, 1 ), PFV( 0, 9, 0 ), &QgsProjectFileTransform::transform081to090},
3939
{PFV( 0, 9, 0 ), PFV( 0, 9, 1 ), &QgsProjectFileTransform::transformNull},
4040
{PFV( 0, 9, 1 ), PFV( 0, 10, 0 ), &QgsProjectFileTransform::transform091to0100},
41-
{PFV( 0, 9, 2 ), PFV( 0, 10, 0 ), &QgsProjectFileTransform::transformNull},
41+
// Following line is a hack that takes us straight from 0.9.2 to 0.11.0
42+
// due to an unknown bug in migrating 0.9.2 files which we didnt pursue (TS & GS)
43+
{PFV( 0, 9, 2 ), PFV( 0, 11, 0 ), &QgsProjectFileTransform::transformNull},
4244
{PFV( 0, 10, 0 ), PFV( 0, 11, 0 ), &QgsProjectFileTransform::transform0100to0110},
4345
{PFV( 0, 11, 0 ), PFV( 1, 0, 0 ), &QgsProjectFileTransform::transform0110to1000},
4446
{PFV( 1, 0, 0 ), PFV( 1, 1, 0 ), &QgsProjectFileTransform::transformNull},

0 commit comments

Comments
 (0)
Please sign in to comment.