Remove image entirely from About modal

This commit is contained in:
Nathan Marley 2019-10-22 11:33:12 -03:00
parent be9643f66e
commit 922a514a95
4 changed files with 0 additions and 49 deletions

View File

@ -231,7 +231,6 @@ RES_ICONS = \
qt/res/icons/tx_input.png \ qt/res/icons/tx_input.png \
qt/res/icons/tx_output.png \ qt/res/icons/tx_output.png \
qt/res/icons/tx_mined.png \ qt/res/icons/tx_mined.png \
qt/res/icons/about.png \
qt/res/icons/about_qt.png \ qt/res/icons/about_qt.png \
qt/res/icons/verify.png \ qt/res/icons/verify.png \
qt/res/icons/fontbigger.png \ qt/res/icons/fontbigger.png \
@ -305,7 +304,6 @@ BITCOIN_QT_CPP += $(BITCOIN_QT_WALLET_CPP)
endif endif
RES_IMAGES = \ RES_IMAGES = \
qt/res/images/about.png \
qt/res/images/arrow_down.png \ qt/res/images/arrow_down.png \
qt/res/images/arrow_down_small.png \ qt/res/images/arrow_down_small.png \
qt/res/images/arrow_left_small.png \ qt/res/images/arrow_left_small.png \

View File

@ -46,7 +46,6 @@
<file alias="filesave">res/icons/filesave.png</file> <file alias="filesave">res/icons/filesave.png</file>
<file alias="debugwindow">res/icons/debugwindow.png</file> <file alias="debugwindow">res/icons/debugwindow.png</file>
<file alias="browse">res/icons/browse.png</file> <file alias="browse">res/icons/browse.png</file>
<file alias="about">res/icons/about.png</file>
<file alias="about_qt">res/icons/about_qt.png</file> <file alias="about_qt">res/icons/about_qt.png</file>
<file alias="verify">res/icons/verify.png</file> <file alias="verify">res/icons/verify.png</file>
<file alias="hd_enabled">res/icons/hd_enabled.png</file> <file alias="hd_enabled">res/icons/hd_enabled.png</file>
@ -62,7 +61,6 @@
<file alias="trad">res/css/trad.css</file> <file alias="trad">res/css/trad.css</file>
</qresource> </qresource>
<qresource prefix="/images"> <qresource prefix="/images">
<file alias="about">res/images/about.png</file>
<file alias="arrow_down">res/images/arrow_down.png</file> <file alias="arrow_down">res/images/arrow_down.png</file>
<file alias="arrow_down_small">res/images/arrow_down_small.png</file> <file alias="arrow_down_small">res/images/arrow_down_small.png</file>
<file alias="arrow_left_small">res/images/arrow_left_small.png</file> <file alias="arrow_left_small">res/images/arrow_left_small.png</file>

View File

@ -43,46 +43,6 @@
<property name="rightMargin"> <property name="rightMargin">
<number>0</number> <number>0</number>
</property> </property>
<item>
<widget class="QLabel" name="aboutLogo">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>96</width>
<height>464</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>96</width>
<height>564</height>
</size>
</property>
<property name="baseSize">
<size>
<width>96</width>
<height>564</height>
</size>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="pixmap">
<pixmap resource="../dash.qrc">:/images/about</pixmap>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
<item> <item>

View File

@ -130,7 +130,6 @@ HelpMessageDialog::HelpMessageDialog(QWidget *parent, HelpMode helpMode) :
ui->helpMessage->moveCursor(QTextCursor::Start); ui->helpMessage->moveCursor(QTextCursor::Start);
ui->scrollArea->setVisible(false); ui->scrollArea->setVisible(false);
ui->aboutLogo->setVisible(false);
} else if (helpMode == pshelp) { } else if (helpMode == pshelp) {
setWindowTitle(tr("PrivateSend information")); setWindowTitle(tr("PrivateSend information"));
@ -165,11 +164,7 @@ For more information, see the <a href=\"https://docs.dash.org/en/stable/wallets/
)); ));
ui->aboutMessage->setWordWrap(true); ui->aboutMessage->setWordWrap(true);
ui->helpMessage->setVisible(false); ui->helpMessage->setVisible(false);
ui->aboutLogo->setVisible(false);
} }
QString helpMessageGfx = ":/images/about";
QPixmap pixmap = QPixmap(helpMessageGfx);
ui->aboutLogo->setPixmap(pixmap);
} }
HelpMessageDialog::~HelpMessageDialog() HelpMessageDialog::~HelpMessageDialog()