# HG changeset patch # User Eldar Insafutdinov # Date 1300408263 0 # Node ID eb959324f82a101a9d60d815bbfef5c3fe908c7c # Parent 778ef7374fb5e709efa0cc19e9b5fa5ac224f0c2# Parent 9d6e4703a458a18e9ef1acfcffa749ade332c476 merge diff -r 9d6e4703a458 -r eb959324f82a examples/itemviews/CMakeLists.txt --- a/examples/itemviews/CMakeLists.txt Thu Mar 17 23:09:43 2011 +0100 +++ b/examples/itemviews/CMakeLists.txt Fri Mar 18 00:31:03 2011 +0000 @@ -1,2 +1,2 @@ - add_subdirectory(dirview) +add_subdirectory(dirview) add_subdirectory(customsortfiltermodel) \ No newline at end of file diff -r 9d6e4703a458 -r eb959324f82a examples/layouts/borderlayout/borderlayout.d --- a/examples/layouts/borderlayout/borderlayout.d Thu Mar 17 23:09:43 2011 +0100 +++ b/examples/layouts/borderlayout/borderlayout.d Fri Mar 18 00:31:03 2011 +0000 @@ -104,7 +104,7 @@ int count() const { - return list.length; + return cast(int)list.length; } IQLayoutItem itemAt(int index) const diff -r 9d6e4703a458 -r eb959324f82a examples/layouts/dynamiclayouts/dialog.d --- a/examples/layouts/dynamiclayouts/dialog.d Thu Mar 17 23:09:43 2011 +0100 +++ b/examples/layouts/dynamiclayouts/dialog.d Fri Mar 18 00:31:03 2011 +0000 @@ -117,7 +117,7 @@ rotableWidgets = rotableWidgets[1..$] ~ rotableWidgets[0]; - int n = rotableWidgets.length; + auto n = rotableWidgets.length; for (int i = 0; i < n / 2; ++i) { rotableLayout.addWidget(rotableWidgets[n - i - 1], 0, i); rotableLayout.addWidget(rotableWidgets[i], 1, i); @@ -146,7 +146,7 @@ rotableWidgets ~= a2; rotableWidgets ~= a3; - int n = rotableWidgets.length; + auto n = rotableWidgets.length; for (int i = 0; i < n; ++i) connect(rotableWidgets[i], "valueChanged", rotableWidgets[(i + 1) % n], "setValue");