Commit 683bc3d4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Remove trailing spaces...

parent a20dba71
......@@ -72,7 +72,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings, QWidge
CONNECT( selector, activated( int ), rightPanel, setRoot( int ) );
/* Connect the activated() to the rootChanged() signal
This will be used by StandardPLPanel to setCurrentRootId, that will
This will be used by StandardPLPanel to setCurrentRootId, that will
change the label of the addButton */
connect( selector, SIGNAL( activated( int ) ),
this, SIGNAL( rootChanged( int ) ) );
......
......@@ -325,7 +325,7 @@ void StandardPLPanel::removeItem( int i_id )
model->removeItem( i_id );
}
/* Delete and Suppr key remove the selection
/* Delete and Suppr key remove the selection
FilterKey function and code function */
void StandardPLPanel::keyPressEvent( QKeyEvent *e )
{
......
......@@ -36,8 +36,8 @@
ErrorsDialog *ErrorsDialog::instance = NULL;
ErrorsDialog::ErrorsDialog( QWidget *parent, intf_thread_t *_p_intf )
: QVLCDialog( parent, _p_intf )
ErrorsDialog::ErrorsDialog( QWidget *parent, intf_thread_t *_p_intf )
: QVLCDialog( parent, _p_intf )
{
setWindowTitle( qtr( "Errors" ) );
resize( 500 , 300 );
......
......@@ -125,7 +125,7 @@ AboutDialog::AboutDialog( QWidget *parent, intf_thread_t *_p_intf)
+ qtr( "Based on SVN revision: " ) + qfu( VLC_Changeset() ) + ".\n"
+ qtr( "You are using the Qt4 Interface.\n\n" )
+ qtr( "Copyright (c) " COPYRIGHT_YEARS " by the VideoLAN Team.\n" )
+ "vlc@videolan.org, http://www.videolan.org" );
+ "vlc@videolan.org, http://www.videolan.org" );
infoLabel->setWordWrap( infoLabel );
QLabel *iconVLC2 = new QLabel;
......@@ -288,7 +288,7 @@ void UpdateDialog::updateNotify( bool b_result )
{
b_checked = true;
updateButton->setText( "Download" );
updateLabel->setText( qtr( "There is a new version of vlc :\n" )
updateLabel->setText( qtr( "There is a new version of vlc :\n" )
+ qfu( p_update->release.psz_desc ) );
}
else
......
......@@ -24,8 +24,8 @@
#ifndef _INTERACTION_H_
#define _INTERACTION_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc/vlc.h>
......
......@@ -34,7 +34,7 @@ public:
static PodcastConfigDialog * getInstance( intf_thread_t *p_intf )
{
if( !instance )
instance = new PodcastConfigDialog( (QWidget *)p_intf->p_sys->p_mi,
instance = new PodcastConfigDialog( (QWidget *)p_intf->p_sys->p_mi,
p_intf );
return instance;
}
......
......@@ -24,8 +24,8 @@
#ifndef _SOUT_DIALOG_H_
#define _SOUT_DIALOG_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc/vlc.h>
......
......@@ -25,8 +25,8 @@
#ifndef _DIALOGS_PROVIDER_H_
#define _DIALOGS_PROVIDER_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <assert.h>
......
......@@ -24,8 +24,8 @@
#ifndef _INPUT_MANAGER_H_
#define _INPUT_MANAGER_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc/vlc.h>
......
......@@ -93,8 +93,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
{
/* Variables initialisation */
// need_components_update = false;
bgWidget = NULL;
videoWidget = NULL;
bgWidget = NULL;
videoWidget = NULL;
playlistWidget = NULL;
sysTray = NULL;
videoIsActive = false;
......
......@@ -25,8 +25,8 @@
#ifndef _QVLC_H_
#define _QVLC_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc/vlc.h>
......
......@@ -187,22 +187,22 @@ double QVLCRegistry::ReadRegistryDouble( const char *path, const char *valueName
return default_value;
}
int QVLCRegistry::DeleteValue( char *path, char *valueName )
int QVLCRegistry::DeleteValue( char *path, char *valueName )
{
HKEY keyHandle;
HKEY keyHandle;
long result;
if( (result = RegOpenKeyEx(m_RootKey, path, 0, KEY_WRITE, &keyHandle)) == ERROR_SUCCESS)
{
result = RegDeleteValue(keyHandle, valueName);
RegCloseKey(keyHandle);
}
//ERROR_SUCCESS = ok everything else you have a problem*g*,
//ERROR_SUCCESS = ok everything else you have a problem*g*,
return result;
}
long QVLCRegistry::DeleteKey( char *path, char *keyName )
long QVLCRegistry::DeleteKey( char *path, char *keyName )
{
HKEY keyHandle;
HKEY keyHandle;
long result;
if( (result = RegOpenKeyEx(m_RootKey, path, 0, KEY_WRITE, &keyHandle)) == ERROR_SUCCESS)
{
......@@ -212,7 +212,7 @@ long QVLCRegistry::DeleteKey( char *path, char *keyName )
result = RegDeleteKey(keyHandle, keyName);
RegCloseKey(keyHandle);
}
//ERROR_SUCCESS = ok everything else you have a problem*g*,
//ERROR_SUCCESS = ok everything else you have a problem*g*,
return result;
}
......
......@@ -45,7 +45,7 @@ public:
bool RegistryKeyExists( const char *path);
bool RegistryValueExists( const char *path, const char *valueName);
int DeleteValue( char *path, char *valueName );
long DeleteKey( char *path, char *keyName );
long DeleteKey( char *path, char *keyName );
};
#endif
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