Ticket #4074: mythmusic_disable_CreateCDAudio_button.diff
File mythmusic_disable_CreateCDAudio_button.diff, 1.1 KB (added by , 16 years ago) |
---|
-
mythmusic/mythmusic/databasebox.cpp
875 875 876 876 if (cdwriter) 877 877 { 878 #if 0 879 /* 880 Disabled as Playlist::CreateCDAudio() is empty, 881 it is called by CreateCDAudio() 882 */ 878 883 cdaudiob = active_popup->addButton(tr("Create Audio CD from " 879 884 "Playlist"), this, 880 885 SLOT(CreateCDAudio())); 886 #endif 881 887 882 888 cdmp3b = active_popup->addButton(tr("Create MP3 CD from Playlist"), 883 889 this, SLOT(CreateCDMP3())); … … 920 926 active_popup->addLabel(label2); 921 927 922 928 cdmp3b->setEnabled((ratio_MB <= 100.0)); 923 cdaudiob->setEnabled((ratio_sec <= 100.0)); 924 cdaudiob->setEnabled(false); 929 930 if (cdaudiob) 931 { 932 cdaudiob->setEnabled((ratio_sec <= 100.0)); 933 cdaudiob->setEnabled(false); 934 } 925 935 } 926 936 927 937 (void)item_ptr;