aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Visual/projectm/projectmplugin.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-02-09 10:11:37 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-02-09 10:11:37 +0000
commitd81a31df5bc58994a151a53074b739589c21a28b (patch)
tree90ae95d6ea531453d04a5aef638fe252e0590888 /src/plugins/Visual/projectm/projectmplugin.cpp
parent9dd681456966f54dd71bb8804520d99f22c7dba7 (diff)
downloadqmmp-d81a31df5bc58994a151a53074b739589c21a28b.tar.gz
qmmp-d81a31df5bc58994a151a53074b739589c21a28b.tar.bz2
qmmp-d81a31df5bc58994a151a53074b739589c21a28b.zip
projectm plugin: added mingw support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4067 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual/projectm/projectmplugin.cpp')
-rw-r--r--src/plugins/Visual/projectm/projectmplugin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/Visual/projectm/projectmplugin.cpp b/src/plugins/Visual/projectm/projectmplugin.cpp
index e28eaa827..d730ec04d 100644
--- a/src/plugins/Visual/projectm/projectmplugin.cpp
+++ b/src/plugins/Visual/projectm/projectmplugin.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009-2013 by Ilya Kotov *
+ * Copyright (C) 2009-2014 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -33,10 +33,11 @@
#include "projectmplugin.h"
ProjectMPlugin::ProjectMPlugin (QWidget *parent)
- : Visual (parent)
+ : Visual (parent, Qt::Window | Qt::MSWindowsOwnDC)
{
setlocale(LC_NUMERIC, "C"); //fixes problem with none-english locales
setWindowTitle(tr("ProjectM"));
+
m_projectMWidget = new ProjectMWidget(this);
QHBoxLayout *layout = new QHBoxLayout;
layout->addWidget(m_projectMWidget);