Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
87219a2b
Commit
87219a2b
authored
Aug 25, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update comments.
parent
5917494b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
13 deletions
+4
-13
modules/gui/qt4/components/complete_preferences.cpp
modules/gui/qt4/components/complete_preferences.cpp
+0
-4
modules/gui/qt4/dialogs/vlm.cpp
modules/gui/qt4/dialogs/vlm.cpp
+3
-4
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+0
-3
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+1
-2
No files found.
modules/gui/qt4/components/complete_preferences.cpp
View file @
87219a2b
...
@@ -178,8 +178,6 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
...
@@ -178,8 +178,6 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
/* Create a new TreeWidget */
/* Create a new TreeWidget */
QTreeWidgetItem
*
subcat_item
=
new
QTreeWidgetItem
();
QTreeWidgetItem
*
subcat_item
=
new
QTreeWidgetItem
();
subcat_item
->
setText
(
0
,
data_sub
->
name
);
subcat_item
->
setText
(
0
,
data_sub
->
name
);
/* TODO : Choose the image */
//subcat_item->setIcon( 0 , XXX );
subcat_item
->
setData
(
0
,
Qt
::
UserRole
,
subcat_item
->
setData
(
0
,
Qt
::
UserRole
,
qVariantFromValue
(
data_sub
)
);
qVariantFromValue
(
data_sub
)
);
subcat_item
->
setSizeHint
(
0
,
QSize
(
-
1
,
ITEM_HEIGHT
)
);
subcat_item
->
setSizeHint
(
0
,
QSize
(
-
1
,
ITEM_HEIGHT
)
);
...
@@ -274,10 +272,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
...
@@ -274,10 +272,8 @@ PrefsTree::PrefsTree( intf_thread_t *_p_intf, QWidget *_parent ) :
module_data
->
i_type
=
TYPE_MODULE
;
module_data
->
i_type
=
TYPE_MODULE
;
module_data
->
psz_name
=
strdup
(
module_GetObjName
(
p_module
)
);
module_data
->
psz_name
=
strdup
(
module_GetObjName
(
p_module
)
);
module_data
->
help
.
clear
();
module_data
->
help
.
clear
();
// TODO image
QTreeWidgetItem
*
module_item
=
new
QTreeWidgetItem
();
QTreeWidgetItem
*
module_item
=
new
QTreeWidgetItem
();
module_item
->
setText
(
0
,
qtr
(
module_GetName
(
p_module
,
false
)
)
);
module_item
->
setText
(
0
,
qtr
(
module_GetName
(
p_module
,
false
)
)
);
//item->setIcon( 0 , XXX );
module_item
->
setData
(
0
,
Qt
::
UserRole
,
module_item
->
setData
(
0
,
Qt
::
UserRole
,
QVariant
::
fromValue
(
module_data
)
);
QVariant
::
fromValue
(
module_data
)
);
module_item
->
setSizeHint
(
0
,
QSize
(
-
1
,
ITEM_HEIGHT
)
);
module_item
->
setSizeHint
(
0
,
QSize
(
-
1
,
ITEM_HEIGHT
)
);
...
...
modules/gui/qt4/dialogs/vlm.cpp
View file @
87219a2b
...
@@ -164,7 +164,7 @@ VLMDialog::~VLMDialog()
...
@@ -164,7 +164,7 @@ VLMDialog::~VLMDialog()
{
{
delete
vlmWrapper
;
delete
vlmWrapper
;
/*
FIXME
:you have to destroy vlm here to close
/*
TODO
:you have to destroy vlm here to close
* but we shouldn't destroy vlm here in case somebody else wants it */
* but we shouldn't destroy vlm here in case somebody else wants it */
if
(
p_vlm
)
if
(
p_vlm
)
{
{
...
@@ -259,7 +259,7 @@ void VLMDialog::addVLMItem()
...
@@ -259,7 +259,7 @@ void VLMDialog::addVLMItem()
clearWidgets
();
clearWidgets
();
}
}
/
/ FIXME : VOD are not exported to the file
/
* TODO : VOD are not exported to the file */
bool
VLMDialog
::
exportVLMConf
()
bool
VLMDialog
::
exportVLMConf
()
{
{
QString
saveVLMConfFileName
=
QFileDialog
::
getSaveFileName
(
QString
saveVLMConfFileName
=
QFileDialog
::
getSaveFileName
(
...
@@ -454,8 +454,7 @@ void VLMDialog::saveModifications()
...
@@ -454,8 +454,7 @@ void VLMDialog::saveModifications()
break
;
break
;
// vlmObj->
// vlmObj->
}
}
vlmObj
->
update
();
/* It should call the correct function is VLMAWidget
vlmObj
->
update
();
is abstract, but I am far from sure... FIXME ? */
}
}
clearWidgets
();
clearWidgets
();
}
}
...
...
modules/gui/qt4/input_manager.cpp
View file @
87219a2b
...
@@ -571,9 +571,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
...
@@ -571,9 +571,6 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
var_AddCallback
(
p_intf
->
p_libvlc
,
"volume-change"
,
VolumeChanged
,
this
);
var_AddCallback
(
p_intf
->
p_libvlc
,
"volume-change"
,
VolumeChanged
,
this
);
// No necessary, I think TODO REMOVE ME at the end
//var_AddCallback( THEPL, "intf-change", ItemChanged, im );
/* Warn our embedded IM about input changes */
/* Warn our embedded IM about input changes */
CONNECT
(
this
,
inputChanged
(
input_thread_t
*
),
CONNECT
(
this
,
inputChanged
(
input_thread_t
*
),
im
,
setInput
(
input_thread_t
*
)
);
im
,
setInput
(
input_thread_t
*
)
);
...
...
modules/gui/qt4/qt4.cpp
View file @
87219a2b
...
@@ -337,8 +337,7 @@ static void *Init( vlc_object_t *obj )
...
@@ -337,8 +337,7 @@ static void *Init( vlc_object_t *obj )
#endif
#endif
QSettings
::
UserScope
,
"vlc"
,
"vlc-qt-interface"
);
QSettings
::
UserScope
,
"vlc"
,
"vlc-qt-interface"
);
/* Icon setting
/* Icon setting */
FIXME: use a bigger icon ? */
if
(
QDate
::
currentDate
().
dayOfYear
()
>=
354
)
if
(
QDate
::
currentDate
().
dayOfYear
()
>=
354
)
app
->
setWindowIcon
(
QIcon
(
QPixmap
(
vlc_christmas_xpm
)
)
);
app
->
setWindowIcon
(
QIcon
(
QPixmap
(
vlc_christmas_xpm
)
)
);
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment