mcst-linux-kernel/patches-2024.06.26/qgis-3.16.7/0003-bug133376.patch

25 lines
949 B
Diff

diff -Naur old/src/app/devtools/qgsappdevtoolutils.h new/src/app/devtools/qgsappdevtoolutils.h
--- old/src/app/devtools/qgsappdevtoolutils.h 2021-05-14 15:08:27.000000000 +0300
+++ new/src/app/devtools/qgsappdevtoolutils.h 2021-06-10 17:11:46.556557142 +0300
@@ -33,7 +33,7 @@
QgsScopedDevToolWidgetFactory();
~QgsScopedDevToolWidgetFactory();
- void reset( std::unique_ptr< QgsDevToolWidgetFactory > factory = nullptr );
+ void reset( std::unique_ptr< QgsDevToolWidgetFactory > factory );
private:
std::unique_ptr< QgsDevToolWidgetFactory > mFactory;
diff -Naur old/src/app/qgisapp.cpp new/src/app/qgisapp.cpp
--- old/src/app/qgisapp.cpp 2021-05-14 15:08:27.000000000 +0300
+++ new/src/app/qgisapp.cpp 2021-06-10 17:11:21.320017000 +0300
@@ -1748,7 +1748,7 @@
}
#endif
- mNetworkLoggerWidgetFactory.reset();
+ mNetworkLoggerWidgetFactory.reset(nullptr);
delete mInternalClipboard;
delete mQgisInterface;