From 89e81059e832ff77c2f0ac8b9db12f80eafa03fc Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 24 Jan 2007 19:54:07 +0000 Subject: Each file in this commit has an instance where a pointer is checked at one point in the code and then not checked in another point in the code. If it needed to be checked once, it needs to be checked the other time. If not the application could segfault. --- (limited to 'libopie2') diff --git a/libopie2/opieui/big-screen/osplitter.cpp b/libopie2/opieui/big-screen/osplitter.cpp index 78e919a..5d1e2cf 100644 --- a/libopie2/opieui/big-screen/osplitter.cpp +++ b/libopie2/opieui/big-screen/osplitter.cpp @@ -227,7 +227,7 @@ void OSplitter::addWidget( QWidget* wid, const QString& icon, const QString& lab { if (m_hbox ) addToBox( cont ); - else + else if (m_tabWidget) addToTab( cont ); } } -- cgit v0.9.0.2