[multimedia/kwave] kwave: fixed compiler warning (gcc-14/15) about possible null pointer derference

Thomas Eschenbacher <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 2ba9dc2f72d14b054e8167782aa8a249169ee6ac by Thomas Eschenbacher.
Committed on 25/07/2026 at 17:39.
Pushed by eschenbacher into branch 'master'.

fixed compiler warning (gcc-14/15) about possible null pointer derference

M  +1    -1    kwave/FileContext.h

https://invent.kde.org/multimedia/kwave/-/commit/2ba9dc2f72d14b054e8167782aa8a249169ee6ac

diff --git a/kwave/FileContext.h b/kwave/FileContext.h
index b04d34b8..6f94608d 100644
--- a/kwave/FileContext.h
+++ b/kwave/FileContext.h
@@ -330,7 +330,7 @@ namespace Kwave
             }
 
         private:
-            QPointer<Kwave::FileContext> m_context;
+            Kwave::FileContext *m_context;
         };
 
     private:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.