void-packages/srcpkgs/notepadqq/patches/disable-stats.patch

12 lines
277 B
Diff

# disable collection of system statics
--- src/ui/stats.cpp
+++ src/ui/stats.cpp
@@ -19,6 +19,7 @@
void Stats::init()
{
+ return; // statistics collection disabled by Void Linux
NqqSettings &settings = NqqSettings::getInstance();
Stats::askUserPermission();