Commit 78510eda authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Slight string change and code cosmetic.

parent d709d80d
...@@ -159,7 +159,7 @@ void OpenDialog::setMenuAction() ...@@ -159,7 +159,7 @@ void OpenDialog::setMenuAction()
playButton->setText( qtr("&Convert / Save") ); playButton->setText( qtr("&Convert / Save") );
BUTTONACT( playButton, transcode() ); BUTTONACT( playButton, transcode() );
break; break;
case ENQUEUE: case OPEN_AND_ENQUEUE:
playButton->setText( qtr("&Enqueue") ); playButton->setText( qtr("&Enqueue") );
BUTTONACT( playButton, enqueue() ); BUTTONACT( playButton, enqueue() );
break; break;
......
...@@ -230,7 +230,8 @@ void DialogsProvider::openCaptureDialog() ...@@ -230,7 +230,8 @@ void DialogsProvider::openCaptureDialog()
/* Same as the open one, but force the enqueue */ /* Same as the open one, but force the enqueue */
void DialogsProvider::PLAppendDialog() void DialogsProvider::PLAppendDialog()
{ {
OpenDialog::getInstance( p_intf->p_sys->p_mi , p_intf, ENQUEUE)->showTab(0); OpenDialog::getInstance( p_intf->p_sys->p_mi , p_intf, OPEN_AND_ENQUEUE)
->showTab( OPEN_FILE_TAB );
} }
/* Unimplemmented yet - Usefull ? */ /* Unimplemmented yet - Usefull ? */
......
...@@ -81,7 +81,7 @@ enum { ...@@ -81,7 +81,7 @@ enum {
OPEN_AND_PLAY, OPEN_AND_PLAY,
OPEN_AND_STREAM, OPEN_AND_STREAM,
OPEN_AND_SAVE, OPEN_AND_SAVE,
ENQUEUE OPEN_AND_ENQUEUE
}; };
class QEvent; class QEvent;
......
...@@ -563,7 +563,7 @@ void MainInterface::togglePlaylist() ...@@ -563,7 +563,7 @@ void MainInterface::togglePlaylist()
{ {
msg_Dbg( p_intf, "Creating a new playlist" ); msg_Dbg( p_intf, "Creating a new playlist" );
playlistWidget = new PlaylistWidget( p_intf ); playlistWidget = new PlaylistWidget( p_intf );
if(bgWidget) if( bgWidget )
CONNECT( playlistWidget, artSet( QString ), bgWidget, setArt(QString) ); CONNECT( playlistWidget, artSet( QString ), bgWidget, setArt(QString) );
//FIXME //FIXME
...@@ -578,10 +578,10 @@ void MainInterface::togglePlaylist() ...@@ -578,10 +578,10 @@ void MainInterface::togglePlaylist()
msg_Dbg( p_intf, "Creating a new playlist" ); msg_Dbg( p_intf, "Creating a new playlist" );
/* Make the playlist floating is requested. Default is not. */ /* Make the playlist floating is requested. Default is not. */
if( !settings->value( "playlist-embedded", true ).toBool() ); if( !(settings->value( "playlist-embedded", true )).toBool() );
{ {
msg_Dbg( p_intf, "we don't want it inside"); msg_Dbg( p_intf, "we don't want it inside");
dockPL->setFloating( true ); //dockPL->setFloating( true );
} }
} }
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<item row="1" column="0" colspan="2" > <item row="1" column="0" colspan="2" >
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox" >
<property name="title" > <property name="title" >
<string>_("Skins")</string> <string>_("Native or Skins")</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<item row="2" column="0" colspan="3" > <item row="2" column="0" colspan="3" >
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QRadioButton" name="qt4" > <widget class="QRadioButton" name="qt4" >
<property name="text" > <property name="text" >
<string>_("Default")</string> <string>_("Native")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment