Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
970a1b94
Commit
970a1b94
authored
Sep 17, 2012
by
François Cartegnie
🤞
Browse files
Qt: profile editor: fix buttons
parent
e4e9f0c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/sout/profile_selector.cpp
View file @
970a1b94
...
...
@@ -249,7 +249,8 @@ VLCProfileEditor::VLCProfileEditor( const QString& qs_name, const QString& value
setATranscodeOptions
(
false
);
setSTranscodeOptions
(
false
);
QPushButton
*
saveButton
=
new
QPushButton
(
qtr
(
"Save"
)
);
QPushButton
*
saveButton
=
new
QPushButton
(
(
qs_name
.
isEmpty
()
)
?
qtr
(
"Create"
)
:
qtr
(
"Save"
)
);
ui
.
buttonBox
->
addButton
(
saveButton
,
QDialogButtonBox
::
AcceptRole
);
BUTTONACT
(
saveButton
,
close
()
);
QPushButton
*
cancelButton
=
new
QPushButton
(
qtr
(
"Cancel"
)
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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