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
518f3a21
Commit
518f3a21
authored
Feb 03, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a public function to create the p_update struct.
parent
014c5b76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+7
-2
modules/gui/qt4/dialogs/help.hpp
modules/gui/qt4/dialogs/help.hpp
+1
-0
No files found.
modules/gui/qt4/dialogs/help.cpp
View file @
518f3a21
...
...
@@ -217,8 +217,8 @@ UpdateDialog::UpdateDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
BUTTONACT
(
updateButton
,
UpdateOrDownload
()
);
BUTTONACT
(
closeButton
,
close
()
);
/*
create the update structure and the callback
*/
p_update
=
update_New
(
_p_intf
);
/*
Create the update structure
*/
initUpdate
(
);
b_checked
=
false
;
/* Check for updates */
...
...
@@ -290,5 +290,10 @@ void UpdateDialog::updateNotify( bool b_result )
updateButton
->
setEnabled
(
true
);
}
/* Initialise the p_update struct */
void
UpdateDialog
::
initUpdate
()
{
p_update
=
update_New
(
p_intf
);
}
#endif
modules/gui/qt4/dialogs/help.hpp
View file @
518f3a21
...
...
@@ -92,6 +92,7 @@ public:
}
virtual
~
UpdateDialog
();
void
updateNotify
(
bool
);
void
initUpdate
();
private:
UpdateDialog
(
intf_thread_t
*
);
...
...
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