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