Commit d727c459 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Don't clutter REGISTRY on windows...

Using the registry when we can avoid it is a wrong idea, IMHO.
Easier to delete when you delete %appdata%/vlc
parent d6abd400
...@@ -324,7 +324,14 @@ static void Init( intf_thread_t *p_intf ) ...@@ -324,7 +324,14 @@ static void Init( intf_thread_t *p_intf )
QApplication *app = new QApplication( argc, argv , true ); QApplication *app = new QApplication( argc, argv , true );
p_intf->p_sys->p_app = app; p_intf->p_sys->p_app = app;
p_intf->p_sys->mainSettings = new QSettings( "vlc", "vlc-qt-interface" ); p_intf->p_sys->mainSettings = new QSettings(
#ifdef WIN32
QSettings::IniFormat,
#else
QSettings::NativeFormat,
#endif
QSettings::UserScope, "vlc", "vlc-qt-interface" );
/* Icon setting /* Icon setting
FIXME: use a bigger icon ? */ FIXME: use a bigger icon ? */
if( QDate::currentDate().dayOfYear() >= 354 ) if( QDate::currentDate().dayOfYear() >= 354 )
......
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