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
474f8390
Commit
474f8390
authored
Mar 02, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: messages: fix visibility warning
parent
89f039dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
modules/gui/qt4/dialogs/external.cpp
modules/gui/qt4/dialogs/external.cpp
+6
-6
modules/gui/qt4/dialogs/messages.cpp
modules/gui/qt4/dialogs/messages.cpp
+5
-5
No files found.
modules/gui/qt4/dialogs/external.cpp
View file @
474f8390
...
...
@@ -38,12 +38,12 @@
#include <QPushButton>
#include <QTimer>
DialogHandler
::
DialogHandler
(
intf_thread_t
*
intf
,
QObject
*
_parent
)
:
QObject
(
_parent
),
intf
(
intf
),
critical
(
VLC_OBJECT
(
intf
),
"dialog-critical"
),
login
(
VLC_OBJECT
(
intf
),
"dialog-login"
),
question
(
VLC_OBJECT
(
intf
),
"dialog-question"
),
progressBar
(
VLC_OBJECT
(
intf
),
"dialog-progress-bar"
)
DialogHandler
::
DialogHandler
(
intf_thread_t
*
p_
intf
,
QObject
*
_parent
)
:
QObject
(
_parent
),
intf
(
p_
intf
),
critical
(
VLC_OBJECT
(
p_
intf
),
"dialog-critical"
),
login
(
VLC_OBJECT
(
p_
intf
),
"dialog-login"
),
question
(
VLC_OBJECT
(
p_
intf
),
"dialog-question"
),
progressBar
(
VLC_OBJECT
(
p_
intf
),
"dialog-progress-bar"
)
{
var_Create
(
intf
,
"dialog-error"
,
VLC_VAR_ADDRESS
);
var_AddCallback
(
intf
,
"dialog-error"
,
error
,
this
);
...
...
modules/gui/qt4/dialogs/messages.cpp
View file @
474f8390
...
...
@@ -86,9 +86,9 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
/* Buttons and general layout */
ui
.
saveLogButton
->
setToolTip
(
qtr
(
"Saves all the displayed logs to a file"
)
);
int
verbosity
=
var_InheritInteger
(
p_intf
,
"verbose"
);
vlc_atomic_set
(
&
this
->
verbosity
,
verbosity
);
ui
.
verbosityBox
->
setValue
(
verbosity
);
int
i_
verbosity
=
var_InheritInteger
(
p_intf
,
"verbose"
);
changeVerbosity
(
i_
verbosity
);
ui
.
verbosityBox
->
setValue
(
i_
verbosity
);
char
*
objs
=
var_InheritString
(
p_intf
,
"verbose-objects"
);
if
(
objs
!=
NULL
)
...
...
@@ -130,9 +130,9 @@ MessagesDialog::~MessagesDialog()
vlc_Unsubscribe
(
sub
);
};
void
MessagesDialog
::
changeVerbosity
(
int
verbosity
)
void
MessagesDialog
::
changeVerbosity
(
int
i_
verbosity
)
{
vlc_atomic_set
(
&
this
->
verbosity
,
verbosity
);
vlc_atomic_set
(
&
this
->
verbosity
,
i_
verbosity
);
}
void
MessagesDialog
::
updateConfig
()
...
...
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