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()
playButton->setText( qtr("&Convert / Save") );
BUTTONACT( playButton, transcode() );
break;
case ENQUEUE:
case OPEN_AND_ENQUEUE:
playButton->setText( qtr("&Enqueue") );
BUTTONACT( playButton, enqueue() );
break;
......
......@@ -230,7 +230,8 @@ void DialogsProvider::openCaptureDialog()
/* Same as the open one, but force the enqueue */
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 ? */
......
......@@ -81,7 +81,7 @@ enum {
OPEN_AND_PLAY,
OPEN_AND_STREAM,
OPEN_AND_SAVE,
ENQUEUE
OPEN_AND_ENQUEUE
};
class QEvent;
......
......@@ -563,7 +563,7 @@ void MainInterface::togglePlaylist()
{
msg_Dbg( p_intf, "Creating a new playlist" );
playlistWidget = new PlaylistWidget( p_intf );
if(bgWidget)
if( bgWidget )
CONNECT( playlistWidget, artSet( QString ), bgWidget, setArt(QString) );
//FIXME
......@@ -578,10 +578,10 @@ void MainInterface::togglePlaylist()
msg_Dbg( p_intf, "Creating a new playlist" );
/* 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");
dockPL->setFloating( true );
//dockPL->setFloating( true );
}
}
......
......@@ -26,7 +26,7 @@
<item row="1" column="0" colspan="2" >
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>_("Skins")</string>
<string>_("Native or Skins")</string>
</property>
<layout class="QGridLayout" >
<item row="2" column="0" colspan="3" >
......@@ -103,7 +103,7 @@
<item row="0" column="0" >
<widget class="QRadioButton" name="qt4" >
<property name="text" >
<string>_("Default")</string>
<string>_("Native")</string>
</property>
</widget>
</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