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
fac5ea40
Commit
fac5ea40
authored
Apr 05, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Fix the GotoTime handler. Closes #377.
parent
60f4db26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/dialogs/gototime.cpp
modules/gui/qt4/dialogs/gototime.cpp
+4
-4
No files found.
modules/gui/qt4/dialogs/gototime.cpp
View file @
fac5ea40
...
@@ -49,6 +49,7 @@ GotoTimeDialog::GotoTimeDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
...
@@ -49,6 +49,7 @@ GotoTimeDialog::GotoTimeDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
QPushButton
*
cancelButton
=
new
QPushButton
(
qtr
(
"&Cancel"
)
);
QPushButton
*
cancelButton
=
new
QPushButton
(
qtr
(
"&Cancel"
)
);
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
;
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
;
gotoButton
->
setDefault
(
true
);
buttonBox
->
addButton
(
gotoButton
,
QDialogButtonBox
::
AcceptRole
);
buttonBox
->
addButton
(
gotoButton
,
QDialogButtonBox
::
AcceptRole
);
buttonBox
->
addButton
(
cancelButton
,
QDialogButtonBox
::
RejectRole
);
buttonBox
->
addButton
(
cancelButton
,
QDialogButtonBox
::
RejectRole
);
...
@@ -99,12 +100,11 @@ void GotoTimeDialog::cancel()
...
@@ -99,12 +100,11 @@ void GotoTimeDialog::cancel()
void
GotoTimeDialog
::
close
()
void
GotoTimeDialog
::
close
()
{
{
vlc_value_t
val
;
if
(
THEMIM
->
getIM
()
->
hasInput
()
)
if
(
THEMIM
->
getIM
()
->
hasInput
()
)
{
{
val
.
i_time
=
QTime
(
0
,
0
,
0
).
msecsTo
(
timeEdit
->
time
()
);
int64_t
i_time
=
(
int64_t
)
var_Set
(
THEMIM
->
getInput
(),
"time"
,
val
);
(
QTime
(
0
,
0
,
0
).
msecsTo
(
timeEdit
->
time
()
)
)
*
1000
;
var_SetTime
(
THEMIM
->
getInput
(),
"time"
,
i_time
);
}
}
this
->
toggleVisible
();
this
->
toggleVisible
();
}
}
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