Commit 74180b6b authored by marcus's avatar marcus
Browse files

hr bug fixed

parent 0d84de23
...@@ -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>
......
...@@ -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)));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment