diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dlgpreflibrary.cpp | 13 | ||||
-rw-r--r-- | src/dlgpreflibrarydlg.ui | 4 |
2 files changed, 15 insertions, 2 deletions
diff --git a/src/dlgpreflibrary.cpp b/src/dlgpreflibrary.cpp index 005b4e09cb..6d44c1a0ab 100644 --- a/src/dlgpreflibrary.cpp +++ b/src/dlgpreflibrary.cpp @@ -76,6 +76,19 @@ DlgPrefLibrary::DlgPrefLibrary(QWidget * parent, m_pLibrary, SLOT(slotSetTrackTableFont(QFont))); connect(this, SIGNAL(setTrackTableRowHeight(int)), m_pLibrary, SLOT(slotSetTrackTableRowHeight(int))); + + // TODO(XXX) this string should be extracted from the soundsources + QString buildInFormatsStr = "Ogg Vorbis, FLAC, WAVe, AIFF"; +#if defined(__MAD__) || defined(__APPLE__) + buildInFormatsStr += ", MP3"; +#endif +#ifdef __OPUS__ + buildInFormatsStr += ", Opus"; +#endif +#ifdef _MODPLUG_ + buildInFormatsStr += ", ModPlug"; +#endif + buildInFormats->setText(buildInFormatsStr); } DlgPrefLibrary::~DlgPrefLibrary() { diff --git a/src/dlgpreflibrarydlg.ui b/src/dlgpreflibrarydlg.ui index ec86518fc2..2f05211a8d 100644 --- a/src/dlgpreflibrarydlg.ui +++ b/src/dlgpreflibrarydlg.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <height>791</height> <width>593</width> + <height>791</height> </rect> </property> <property name="windowTitle"> @@ -117,7 +117,7 @@ </widget> </item> <item row="0" column="0"> - <widget class="QLabel" name="label_2"> + <widget class="QLabel" name="buildInFormats"> <property name="text"> <string>MP3, Ogg Vorbis, FLAC, Opus, WAVe, AIFF</string> </property> |