summaryrefslogtreecommitdiffstats
path: root/src/kviewmpeg2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kviewmpeg2.cpp')
-rw-r--r--src/kviewmpeg2.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/kviewmpeg2.cpp b/src/kviewmpeg2.cpp
index 2433df3..7f369a1 100644
--- a/src/kviewmpeg2.cpp
+++ b/src/kviewmpeg2.cpp
@@ -17,6 +17,11 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "k9common.h"
#include <tqpixmap.h>
#include <tqpainter.h>
@@ -86,10 +91,8 @@ kViewMPEG2::kViewMPEG2() {
m_layout=new TQGridLayout(label,1,1);
#ifdef HAVE_OPENGL
-
readSettings();
#else
-
m_prefUseGL=FALSE;
#endif
//disable the option use_gl, so if k9copy crash, we restart without gl