Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
637bd767
Commit
637bd767
authored
Apr 23, 2015
by
Matt Lowe
Browse files
Updated to use svgs
parent
1ab2ba3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_settings.cpp
View file @
637bd767
...
...
@@ -631,8 +631,10 @@ MessagesSettingsPage::MessagesSettingsPage()
messageList
->
addItem
(
settings
.
value
(
QString
(
"msg%1"
).
arg
(
i
)).
toString
());
aAdd
=
new
QAction
(
this
);
aAdd
->
setIcon
(
QIcon
(
":/resources/increment.svg"
));
connect
(
aAdd
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
actAdd
()));
aRemove
=
new
QAction
(
this
);
aRemove
->
setIcon
(
QIcon
(
":/resources/decrement.svg"
));
connect
(
aRemove
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
actRemove
()));
QToolBar
*
messageToolBar
=
new
QToolBar
;
...
...
@@ -705,10 +707,6 @@ void MessagesSettingsPage::actRemove()
void
MessagesSettingsPage
::
retranslateUi
()
{
aAdd
->
setText
(
tr
(
"+"
));
aAdd
->
setFont
(
QFont
(
"Times"
,
20
));
aRemove
->
setText
(
tr
(
"-"
));
aRemove
->
setFont
(
QFont
(
"Times"
,
20
));
chatGroupBox
->
setTitle
(
tr
(
"Chat settings"
));
chatMentionCheckBox
.
setText
(
tr
(
"Enable chat mentions"
));
messageShortcuts
->
setTitle
(
tr
(
"In-game message macros"
));
...
...
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