Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ccacddbd
Commit
ccacddbd
authored
Jun 03, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix crash
* Add a prefs button
parent
04e52ef4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
modules/gui/qt4/dialogs/prefs_dialog.cpp
modules/gui/qt4/dialogs/prefs_dialog.cpp
+2
-1
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+7
-0
No files found.
modules/gui/qt4/dialogs/prefs_dialog.cpp
View file @
ccacddbd
...
@@ -60,7 +60,6 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
...
@@ -60,7 +60,6 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
types
->
setLayout
(
tl
);
types
->
setLayout
(
tl
);
layout
->
addLayout
(
vertical
,
1
);
layout
->
addLayout
(
vertical
,
1
);
setAll
();
all
->
setChecked
(
true
);
all
->
setChecked
(
true
);
...
@@ -68,6 +67,8 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
...
@@ -68,6 +67,8 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
adv_chk
=
new
QCheckBox
(
"Advanced options"
);
adv_chk
=
new
QCheckBox
(
"Advanced options"
);
main_layout
->
addWidget
(
adv_chk
);
main_layout
->
addWidget
(
adv_chk
);
setAll
();
QObject
::
connect
(
adv_chk
,
SIGNAL
(
toggled
(
bool
)
),
this
,
QObject
::
connect
(
adv_chk
,
SIGNAL
(
toggled
(
bool
)
),
this
,
SLOT
(
setAdvanced
(
bool
)
)
);
SLOT
(
setAdvanced
(
bool
)
)
);
setLayout
(
main_layout
);
setLayout
(
main_layout
);
...
...
modules/gui/qt4/main_interface.cpp
View file @
ccacddbd
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
#include "dialogs_provider.hpp"
#include "dialogs_provider.hpp"
#include <QCloseEvent>
#include <QCloseEvent>
#include <assert.h>
#include <assert.h>
#include <QPushButton>
MainInterface
::
MainInterface
(
intf_thread_t
*
_p_intf
)
:
MainInterface
::
MainInterface
(
intf_thread_t
*
_p_intf
)
:
QWidget
(
NULL
),
p_intf
(
_p_intf
)
QWidget
(
NULL
),
p_intf
(
_p_intf
)
...
@@ -36,6 +37,12 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) :
...
@@ -36,6 +37,12 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) :
/* Init input manager */
/* Init input manager */
p_input
=
NULL
;
p_input
=
NULL
;
main_input_manager
=
new
InputManager
(
this
,
p_intf
);
main_input_manager
=
new
InputManager
(
this
,
p_intf
);
QPushButton
*
button
=
new
QPushButton
(
"prefs"
,
this
);
QObject
::
connect
(
button
,
SIGNAL
(
clicked
()
),
DialogsProvider
::
getInstance
(
p_intf
),
SLOT
(
prefsDialog
()
)
);
}
}
void
MainInterface
::
init
()
void
MainInterface
::
init
()
...
...
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