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
74180b6b
Commit
74180b6b
authored
Aug 22, 2009
by
marcus
Browse files
hr bug fixed
parent
0d84de23
Changes
3
Hide whitespace changes
Inline
Side-by-side
cockatrice/cockatrice.qrc
View file @
74180b6b
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
<file>
resources/icon_phase_cleanup.svg
</file>
<file>
resources/icon_phase_cleanup.svg
</file>
<file>
resources/icon_nextturn.svg
</file>
<file>
resources/icon_nextturn.svg
</file>
<file>
resources/hr.jpg
</file>
<file>
translations/cockatrice_de.qm
</file>
<file>
translations/cockatrice_de.qm
</file>
<file>
translations/cockatrice_en.qm
</file>
<file>
translations/cockatrice_en.qm
</file>
</qresource>
</qresource>
...
...
cockatrice/resources/hr.jpg
0 → 100644
View file @
74180b6b
371 Bytes
cockatrice/src/decklistmodel.cpp
View file @
74180b6b
...
@@ -397,7 +397,8 @@ void DeckListModel::printDeckList(QPrinter *printer)
...
@@ -397,7 +397,8 @@ void DeckListModel::printDeckList(QPrinter *printer)
cursor
.
insertBlock
(
headerBlockFormat
,
headerCharFormat
);
cursor
.
insertBlock
(
headerBlockFormat
,
headerCharFormat
);
for
(
int
i
=
0
;
i
<
root
->
size
();
i
++
)
{
for
(
int
i
=
0
;
i
<
root
->
size
();
i
++
)
{
cursor
.
insertHtml
(
"<hr>"
);
cursor
.
insertHtml
(
"<br><img src=:/resources/hr.jpg>"
);
//cursor.insertHtml("<hr>");
cursor
.
insertBlock
(
headerBlockFormat
,
headerCharFormat
);
cursor
.
insertBlock
(
headerBlockFormat
,
headerCharFormat
);
printDeckListNode
(
&
cursor
,
dynamic_cast
<
InnerDecklistNode
*>
(
root
->
at
(
i
)));
printDeckListNode
(
&
cursor
,
dynamic_cast
<
InnerDecklistNode
*>
(
root
->
at
(
i
)));
...
...
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