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
765497c4
Commit
765497c4
authored
Apr 17, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - don't use a class member when you don't need it. Ref #19854
parent
1298e0c9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+2
-1
modules/gui/qt4/components/open.hpp
modules/gui/qt4/components/open.hpp
+1
-2
No files found.
modules/gui/qt4/components/open.cpp
View file @
765497c4
...
@@ -69,7 +69,8 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
...
@@ -69,7 +69,8 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
ui
.
gridLayout
->
addWidget
(
dialogBox
,
0
,
0
,
1
,
3
);
ui
.
gridLayout
->
addWidget
(
dialogBox
,
0
,
0
,
1
,
3
);
// But hide the two OK/Cancel buttons. Enable them for debug.
// But hide the two OK/Cancel buttons. Enable them for debug.
fileDialogAcceptBox
=
findChildren
<
QDialogButtonBox
*>
()[
0
];
QDialogButtonBox
*
fileDialogAcceptBox
=
findChildren
<
QDialogButtonBox
*>
()[
0
];
fileDialogAcceptBox
->
hide
();
fileDialogAcceptBox
->
hide
();
/* Ugly hacks to get the good Widget */
/* Ugly hacks to get the good Widget */
...
...
modules/gui/qt4/components/open.hpp
View file @
765497c4
...
@@ -29,11 +29,11 @@
...
@@ -29,11 +29,11 @@
#include <QWidget>
#include <QWidget>
#include <QString>
#include <QString>
#include <QFileDialog>
#include <QFileDialog>
#include "ui/open_file.h"
#include "ui/open_file.h"
#include "ui/open_disk.h"
#include "ui/open_disk.h"
#include "ui/open_net.h"
#include "ui/open_net.h"
#include "ui/open_capture.h"
#include "ui/open_capture.h"
#include <QDialogButtonBox>
class
QLineEdit
;
class
QLineEdit
;
...
@@ -80,7 +80,6 @@ private:
...
@@ -80,7 +80,6 @@ private:
QStringList
browse
(
QString
);
QStringList
browse
(
QString
);
FileOpenBox
*
dialogBox
;
FileOpenBox
*
dialogBox
;
QLineEdit
*
lineFileEdit
;
QLineEdit
*
lineFileEdit
;
QDialogButtonBox
*
fileDialogAcceptBox
;
public
slots
:
public
slots
:
virtual
void
updateMRL
();
virtual
void
updateMRL
();
private
slots
:
private
slots
:
...
...
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