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
f6135e0e
Commit
f6135e0e
authored
Apr 01, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Goto Time, IA
parent
d3efb9b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
modules/gui/qt4/dialogs/gototime.cpp
modules/gui/qt4/dialogs/gototime.cpp
+14
-0
modules/gui/qt4/dialogs/gototime.hpp
modules/gui/qt4/dialogs/gototime.hpp
+1
-0
No files found.
modules/gui/qt4/dialogs/gototime.cpp
View file @
f6135e0e
...
...
@@ -24,8 +24,10 @@
#include "dialogs/gototime.hpp"
#include "dialogs_provider.hpp"
#include "main_interface.hpp"
#include "util/qvlcframe.hpp"
#include "qt4.hpp"
#include "input_manager.hpp"
#include <QTabWidget>
#include <QFile>
...
...
@@ -89,8 +91,20 @@ GotoTimeDialog::~GotoTimeDialog()
{
}
void
GotoTimeDialog
::
cancel
()
{
timeEdit
->
setTime
(
QTime
(
0
,
0
,
0
)
);
this
->
toggleVisible
();
}
void
GotoTimeDialog
::
close
()
{
vlc_value_t
val
;
if
(
THEMIM
->
getIM
()
->
hasInput
()
)
{
val
.
i_time
=
QTime
(
0
,
0
,
0
).
msecsTo
(
timeEdit
->
time
()
);
var_Set
(
THEMIM
->
getInput
(),
"time"
,
val
);
}
this
->
toggleVisible
();
}
modules/gui/qt4/dialogs/gototime.hpp
View file @
f6135e0e
...
...
@@ -45,6 +45,7 @@ private:
static
GotoTimeDialog
*
instance
;
public
slots
:
void
close
();
void
cancel
();
};
#endif
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