mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[Client] Drop unused info member from the card info text widget
The CardInfoPtr member was only ever initialized to nullptr and never read; remove it together with its initializer.
This commit is contained in:
parent
1b4ea4297f
commit
5c8535dae5
2 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
#include <libcockatrice/card/game_specific_terms.h>
|
#include <libcockatrice/card/game_specific_terms.h>
|
||||||
#include <libcockatrice/card/relation/card_relation.h>
|
#include <libcockatrice/card/relation/card_relation.h>
|
||||||
|
|
||||||
CardInfoTextWidget::CardInfoTextWidget(QWidget *parent) : QFrame(parent), info(nullptr)
|
CardInfoTextWidget::CardInfoTextWidget(QWidget *parent) : QFrame(parent)
|
||||||
{
|
{
|
||||||
propsLabel = new QLabel;
|
propsLabel = new QLabel;
|
||||||
propsLabel->setOpenExternalLinks(false);
|
propsLabel->setOpenExternalLinks(false);
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@ private:
|
||||||
QLabel *propsLabel;
|
QLabel *propsLabel;
|
||||||
QScrollArea *propsScroll;
|
QScrollArea *propsScroll;
|
||||||
QTextEdit *textLabel;
|
QTextEdit *textLabel;
|
||||||
CardInfoPtr info;
|
|
||||||
ExactCard currentCard; ///< Last card set, re-rendered when the card language changes.
|
ExactCard currentCard; ///< Last card set, re-rendered when the card language changes.
|
||||||
void setTexts(const QString &propsText, const QString &textText);
|
void setTexts(const QString &propsText, const QString &textText);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue