mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
remove a param
This commit is contained in:
parent
d57aa40025
commit
b6cc9bf97d
2 changed files with 2 additions and 5 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
CardInfoFrameWidget::CardInfoFrameWidget(const QString &cardName, QWidget *parent)
|
CardInfoFrameWidget::CardInfoFrameWidget(QWidget *parent)
|
||||||
: QTabWidget(parent), info(nullptr), viewTransformationButton(nullptr), cardTextOnly(false)
|
: QTabWidget(parent), info(nullptr), viewTransformationButton(nullptr), cardTextOnly(false)
|
||||||
{
|
{
|
||||||
setContentsMargins(3, 3, 3, 3);
|
setContentsMargins(3, 3, 3, 3);
|
||||||
|
|
@ -60,9 +60,6 @@ CardInfoFrameWidget::CardInfoFrameWidget(const QString &cardName, QWidget *paren
|
||||||
tab3->setLayout(tab3Layout);
|
tab3->setLayout(tab3Layout);
|
||||||
|
|
||||||
setViewMode(SettingsCache::instance().getCardInfoViewMode());
|
setViewMode(SettingsCache::instance().getCardInfoViewMode());
|
||||||
|
|
||||||
// TODO: Change this to be by UUID
|
|
||||||
setCard(CardDatabaseManager::getInstance()->getCardInfo(cardName));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardInfoFrameWidget::retranslateUi()
|
void CardInfoFrameWidget::retranslateUi()
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ public:
|
||||||
ImageAndTextView
|
ImageAndTextView
|
||||||
};
|
};
|
||||||
|
|
||||||
explicit CardInfoFrameWidget(const QString &cardName = QString(), QWidget *parent = nullptr);
|
explicit CardInfoFrameWidget(QWidget *parent = nullptr);
|
||||||
CardInfoPtr getInfo()
|
CardInfoPtr getInfo()
|
||||||
{
|
{
|
||||||
return info;
|
return info;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue