--- qsampler/trunk/src/qsamplerChannelFxForm.cpp 2008/02/19 22:26:33 1707 +++ qsampler/trunk/src/qsamplerChannelFxForm.cpp 2012/12/29 00:21:11 2387 @@ -1,6 +1,7 @@ // qsamplerChannelFxForm.cpp // /**************************************************************************** + Copyright (C) 2010-2012, rncbc aka Rui Nuno Capela. All rights reserved. Copyright (C) 2008, Christian Schoenebeck This program is free software; you can redistribute it and/or @@ -130,21 +131,23 @@ ChannelRoutingDelegate* pRoutingDelegate = new ChannelRoutingDelegate(m_ui.audioRoutingTable); m_ui.audioRoutingTable->setItemDelegate(pRoutingDelegate); +#if QT_VERSION < 0x050000 m_ui.audioRoutingTable->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch); +#endif // m_ui.audioRoutingTable->verticalHeader()->hide(); QAbstractButton* pApplyButton = m_ui.buttonBox->button(QDialogButtonBox::Apply); pApplyButton->setEnabled(false); - pApplyButton->setIcon(QIcon(":/icons/formEdit.png")); + pApplyButton->setIcon(QIcon(":/images/formEdit.png")); QAbstractButton* pCancelButton = m_ui.buttonBox->button(QDialogButtonBox::Cancel); - pCancelButton->setIcon(QIcon(":/icons/formRemove.png")); + pCancelButton->setIcon(QIcon(":/images/formRemove.png")); QAbstractButton* pOkButton = m_ui.buttonBox->button(QDialogButtonBox::Ok); - pOkButton->setIcon(QIcon(":/icons/formAccept.png")); + pOkButton->setIcon(QIcon(":/images/formAccept.png")); QAbstractButton* pResetButton = m_ui.buttonBox->button(QDialogButtonBox::Reset);