diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-02-17 17:54:23 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-02-17 17:54:23 +0000 |
| commit | 18e3830f674b2cff13a447f97e8846ab5d0b6956 (patch) | |
| tree | 8f04d4be4c165d08ad514eee103db8e6f7b876fa /src/plugins/Visual | |
| parent | 2bd1493868ef91aea51c810c6b028375d65d20df (diff) | |
| download | qmmp-18e3830f674b2cff13a447f97e8846ab5d0b6956.tar.gz qmmp-18e3830f674b2cff13a447f97e8846ab5d0b6956.tar.bz2 qmmp-18e3830f674b2cff13a447f97e8846ab5d0b6956.zip | |
projectm: fixed win32 support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4108 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual')
| -rw-r--r-- | src/plugins/Visual/projectm/projectmplugin.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/Visual/projectm/projectmplugin.cpp b/src/plugins/Visual/projectm/projectmplugin.cpp index 94468d101..17c8c3e17 100644 --- a/src/plugins/Visual/projectm/projectmplugin.cpp +++ b/src/plugins/Visual/projectm/projectmplugin.cpp @@ -42,12 +42,14 @@ ProjectMPlugin::ProjectMPlugin (QWidget *parent) m_buf = 0; m_buf_size = 0; - QListWidget *listWidget = new QListWidget(this); - listWidget->setAlternatingRowColors(true); - m_projectMWidget = new ProjectMWidget(listWidget, this); + m_splitter = new QSplitter(Qt::Horizontal, this); + QListWidget *listWidget = new QListWidget(m_splitter); + listWidget->setAlternatingRowColors(true); m_splitter->addWidget(listWidget); + m_projectMWidget = new ProjectMWidget(listWidget, m_splitter); m_splitter->addWidget(m_projectMWidget); + m_splitter->setStretchFactor(1,1); QHBoxLayout *layout = new QHBoxLayout; layout->addWidget(m_splitter); |
