[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kalgebra/src
From:       Prakash Mohan <prak902000 () gmail ! com>
Date:       2010-06-12 18:36:41
Message-ID: 20100612183641.C8BA9AC8D2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1137419 by prakash:

Adding a HAVE_OPENGL check, the t_menu is declared only when OpenGL is present so the \
code fails to compile with that optional dependency missing.

CCMAIL:aleixpol@kde.org


 M  +2 -1      kalgebra.cpp  


--- trunk/KDE/kdeedu/kalgebra/src/kalgebra.cpp #1137418:1137419
@@ -504,8 +504,9 @@
 	
 	c_menu->setEnabled(false);
 	b_menu->setEnabled(false);
+#ifdef HAVE_OPENGL
 	t_menu->setEnabled(false);
-	
+#endif
 	m_status->clear();
 	
 	switch(n) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic