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
2c7642c9
Commit
2c7642c9
authored
Aug 04, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly save the privacy dialog modifications.
parent
eede8ebe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+2
-2
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+5
-4
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/main_interface.hpp
+1
-1
No files found.
modules/gui/qt4/dialogs/help.cpp
View file @
2c7642c9
...
...
@@ -241,10 +241,10 @@ UpdateDialog::UpdateDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
p_update
=
update_New
(
p_intf
);
b_checked
=
false
;
setMinimumSize
(
300
,
1
00
);
setMinimumSize
(
300
,
3
00
);
setMaximumSize
(
400
,
300
);
readSettings
(
"Update"
,
QSize
(
300
,
10
0
)
);
readSettings
(
"Update"
,
QSize
(
300
,
25
0
)
);
/* Check for updates */
UpdateOrDownload
();
...
...
modules/gui/qt4/main_interface.cpp
View file @
2c7642c9
...
...
@@ -449,9 +449,10 @@ inline void MainInterface::askForPrivacy()
if
(
config_GetInt
(
p_intf
,
"qt-privacy-ask"
)
)
{
QList
<
ConfigControl
*>
controls
;
if
(
privacyDialog
(
controls
)
==
QDialog
::
Accepted
)
if
(
privacyDialog
(
&
controls
)
==
QDialog
::
Accepted
)
{
QList
<
ConfigControl
*>::
Iterator
i
;
msg_Dbg
(
p_intf
,
"coin coin %i"
,
controls
.
size
()
);
for
(
i
=
controls
.
begin
()
;
i
!=
controls
.
end
()
;
i
++
)
{
ConfigControl
*
c
=
qobject_cast
<
ConfigControl
*>
(
*
i
);
...
...
@@ -465,7 +466,7 @@ inline void MainInterface::askForPrivacy()
}
}
int
MainInterface
::
privacyDialog
(
QList
<
ConfigControl
*>
controls
)
int
MainInterface
::
privacyDialog
(
QList
<
ConfigControl
*>
*
controls
)
{
QDialog
*
privacy
=
new
QDialog
();
...
...
@@ -505,7 +506,7 @@ int MainInterface::privacyDialog( QList<ConfigControl *> controls )
{ \
control = new type ## ConfigControl( VLC_OBJECT(p_intf), \
p_config, options, false, optionsLayout, line ); \
controls
.
append( control ); \
controls
->
append( control ); \
}
#define CONFIG_GENERIC_NOBOOL( option, type ) \
...
...
@@ -514,7 +515,7 @@ int MainInterface::privacyDialog( QList<ConfigControl *> controls )
{ \
control = new type ## ConfigControl( VLC_OBJECT(p_intf), \
p_config, options, optionsLayout, line ); \
controls
.
append( control ); \
controls
->
append( control ); \
}
CONFIG_GENERIC
(
"album-art"
,
IntegerList
);
line
++
;
...
...
modules/gui/qt4/main_interface.hpp
View file @
2c7642c9
...
...
@@ -108,7 +108,7 @@ private:
void
handleMainUi
(
QSettings
*
);
void
askForPrivacy
();
int
privacyDialog
(
QList
<
ConfigControl
*>
controls
);
int
privacyDialog
(
QList
<
ConfigControl
*>
*
controls
);
/* Systray */
void
handleSystray
();
...
...
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