Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
269a9ae6
Commit
269a9ae6
authored
May 05, 2003
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented support for CONFIG_ITEM_DIRECTORY
parent
5596bb7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/gui/kde/preferences.cpp
modules/gui/kde/preferences.cpp
+7
-1
No files found.
modules/gui/kde/preferences.cpp
View file @
269a9ae6
...
...
@@ -2,7 +2,7 @@
* preferences.cpp: preferences window for the kde gui
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: preferences.cpp,v 1.1
5 2003/04/09 12:03:44 sam
Exp $
* $Id: preferences.cpp,v 1.1
6 2003/05/05 14:58:45 sigmunau
Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> Mon Aug 12 2002
*
...
...
@@ -194,6 +194,7 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
break
;
case
CONFIG_ITEM_FILE
:
case
CONFIG_ITEM_DIRECTORY
:
{
QHBox
*
hb
=
new
QHBox
(
category_table
);
hb
->
setSpacing
(
spacingHint
());
...
...
@@ -211,6 +212,10 @@ KPreferences::KPreferences(intf_thread_t *p_intf, const char *psz_module_name,
KURLRequester
*
kfile
=
new
KURLRequester
(
p_item
->
psz_value
?
p_item
->
psz_value
:
""
,
hb
);
if
(
p_item
->
i_type
==
CONFIG_ITEM_DIRECTORY
)
{
kfile
->
setMode
(
KFile
::
Directory
|
KFile
::
ExistingOnly
|
KFile
::
LocalOnly
);
}
connect
(
kfile
,
SIGNAL
(
textChanged
(
const
QString
&
)),
ci
,
SLOT
(
setValue
(
const
QString
&
)));
QToolTip
::
add
(
kfile
,
p_item
->
psz_longtext
);
...
...
@@ -358,6 +363,7 @@ void KPreferences::slotApply()
switch
(
p_config
->
getType
()
)
{
case
CONFIG_ITEM_DIRECTORY
:
case
CONFIG_ITEM_STRING
:
case
CONFIG_ITEM_FILE
:
case
CONFIG_ITEM_MODULE
:
...
...
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