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
2cb2200b
Commit
2cb2200b
authored
Dec 17, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/gui/kde/preferences.cpp: fixed a compilation issue and a crash.
parent
cb07a716
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
18 deletions
+13
-18
modules/gui/kde/preferences.cpp
modules/gui/kde/preferences.cpp
+13
-18
No files found.
modules/gui/kde/preferences.cpp
View file @
2cb2200b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* preferences.cpp: preferences window for the kde gui
* preferences.cpp: preferences window for the kde gui
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: preferences.cpp,v 1.
9 2002/12/13 01:56:29 gbazin
Exp $
* $Id: preferences.cpp,v 1.
10 2002/12/17 09:54:32 sam
Exp $
*
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> Mon Aug 12 2002
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> Mon Aug 12 2002
*
*
...
@@ -52,7 +52,7 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
...
@@ -52,7 +52,7 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
KDialogBase
(
Tabbed
,
caption
,
Ok
|
Apply
|
Cancel
|
User1
,
Ok
,
parent
,
KDialogBase
(
Tabbed
,
caption
,
Ok
|
Apply
|
Cancel
|
User1
,
Ok
,
parent
,
"vlc preferences"
,
true
,
false
,
"Save"
)
"vlc preferences"
,
true
,
false
,
"Save"
)
{
{
module_t
*
p_parser
;
module_t
*
p_parser
=
NULL
;
vlc_list_t
list
;
vlc_list_t
list
;
module_config_t
*
p_item
;
module_config_t
*
p_item
;
int
i_index
;
int
i_index
;
...
@@ -78,7 +78,7 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
...
@@ -78,7 +78,7 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
if
(
!
p_parser
||
i_index
==
list
.
i_count
)
if
(
!
p_parser
||
i_index
==
list
.
i_count
)
{
{
vlc_list_release
(
list
);
vlc_list_release
(
&
list
);
return
;
return
;
}
}
...
@@ -114,7 +114,6 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
...
@@ -114,7 +114,6 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
case
CONFIG_ITEM_MODULE
:
case
CONFIG_ITEM_MODULE
:
{
{
vlc_mutex_lock
(
p_item
->
p_lock
);
vlc_mutex_lock
(
p_item
->
p_lock
);
KPluginsBox
*
item_frame
=
KPluginsBox
*
item_frame
=
new
KPluginsBox
(
p_intf
,
p_item
->
psz_text
,
new
KPluginsBox
(
p_intf
,
p_item
->
psz_text
,
...
@@ -168,7 +167,6 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
...
@@ -168,7 +167,6 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
kl
->
setMaxLength
(
40
);
kl
->
setMaxLength
(
40
);
vlc_mutex_unlock
(
p_item
->
p_lock
);
vlc_mutex_unlock
(
p_item
->
p_lock
);
}
}
break
;
break
;
...
@@ -194,7 +192,6 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
...
@@ -194,7 +192,6 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
ci
,
SLOT
(
setValue
(
const
QString
&
)));
ci
,
SLOT
(
setValue
(
const
QString
&
)));
QToolTip
::
add
(
kfile
,
p_item
->
psz_longtext
);
QToolTip
::
add
(
kfile
,
p_item
->
psz_longtext
);
vlc_mutex_unlock
(
p_item
->
p_lock
);
vlc_mutex_unlock
(
p_item
->
p_lock
);
}
}
break
;
break
;
...
@@ -228,11 +225,9 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
...
@@ -228,11 +225,9 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
connect
(
kdi
,
SIGNAL
(
valueChanged
(
double
)),
connect
(
kdi
,
SIGNAL
(
valueChanged
(
double
)),
ci
,
SLOT
(
setValue
(
double
)));
ci
,
SLOT
(
setValue
(
double
)));
QToolTip
::
add
(
kdi
,
p_item
->
psz_longtext
);
QToolTip
::
add
(
kdi
,
p_item
->
psz_longtext
);
}
}
break
;
break
;
case
CONFIG_ITEM_BOOL
:
case
CONFIG_ITEM_BOOL
:
/* add check button */
/* add check button */
...
...
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