diff options
author | Will Andrews <will@FreeBSD.org> | 2002-04-19 02:30:02 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2002-04-19 02:30:02 +0000 |
commit | e05ed36727813c752300995435b0dc1aee51ecc3 (patch) | |
tree | d926f0f9b039ccf866d06988fbb956f5373cb5b9 /audio/musicbox/files/patch-player.cpp | |
parent | Add support for localization. (diff) |
Say goodbye to Qt 1.x and all of its dependents. The one port I found
which probably isn't supposed to be removed is misc/instant-workstation,
which had a dependency on audio/xamp (being removed), so I removed that
dependency and bumped PORTREVISION. All other ports are real dependents
upon Qt 1.x, including KDE 1.x stuff.
Code in bsd.kde.mk supporting these ports is also removed or adjusted.
Also, some adjustments made to accomodate Qt3/KDE3 ports, which will be
committed Real Soon Now (TM), pending repo-copies.
This commit made in impending view of Qt3/KDE3 entering ports tree.
Notes
Notes:
svn path=/head/; revision=57872
Diffstat (limited to 'audio/musicbox/files/patch-player.cpp')
-rw-r--r-- | audio/musicbox/files/patch-player.cpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/audio/musicbox/files/patch-player.cpp b/audio/musicbox/files/patch-player.cpp deleted file mode 100644 index 5afe8b464f71..000000000000 --- a/audio/musicbox/files/patch-player.cpp +++ /dev/null @@ -1,60 +0,0 @@ ---- player.cpp.orig Thu Oct 1 10:00:23 1998 -+++ player.cpp Wed Jun 9 00:56:30 1999 -@@ -72,7 +72,7 @@ - options = new QPopupMenu; - AutoPlayID = options->insertItem( "&Auto Play", this, SLOT(AutoPlay()) ); - options->setItemChecked( AutoPlayID, isAutoPlay ); -- RepeatID = options->insertItem( "Re&peat", this, SLOT(RepeatPlay()) ); -+ RepeatID = options->insertItem( "&Repeat", this, SLOT(RepeatPlay()) ); - options->setCheckable(TRUE); - menubar->insertItem( "&Options",options ); - menubar->insertSeparator(); -@@ -150,7 +150,7 @@ - - QLabel *label; - label = new QLabel( this ); -- label->setText("歌星:"); -+ label->setText("Artist:"); - label->setGeometry(5,133,125,30); - - edtName = new QLabel( this ); -@@ -158,7 +158,7 @@ - edtName->setGeometry(83,136,100,25); - - label = new QLabel( this ); -- label->setText("專輯名稱:"); -+ label->setText("Album:"); - label->setGeometry(5,173,125,30); - - edtAlbum = new QLabel( this ); -@@ -166,7 +166,7 @@ - edtAlbum->setGeometry(83,176,100,25); - - label = new QLabel( this ); -- label->setText("發行公司:"); -+ label->setText("Company:"); - label->setGeometry(5,213,125,30); - - edtPub = new QLabel( this ); -@@ -242,15 +242,13 @@ - song->setText(SongBox->text(SongBox->currentItem())); - dclock->Start(SongBox->currentItem()); - if ((mp3_pid = fork()) == 0 ){ -- char **argv; -- int i; -- argv[0]=MP3_PLAYER; -- argv[1]="-q"; -- argv[2]=(char *)LocBox->text(SongBox->currentItem()); -- argv[3]=NULL; -- execvp(MP3_PLAYER,argv); -+ execlp(MP3_PLAYER, -+ MP3_PLAYER, -+ "-q", -+ (char *)LocBox->text(SongBox->currentItem()), -+ NULL); - QMessageBox::warning(this,"error","can't exec mpg123\n"); -- exit(1); -+ _exit(1); - } - } - } |