mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-29 20:06:38 -05:00
Merge pull request #1459 from defnax/master
Improved Posted Links & Subscribe button look like Youtube/Reddit style
This commit is contained in:
commit
450fcbb0e7
19 changed files with 579 additions and 226 deletions
|
|
@ -81,7 +81,7 @@
|
|||
</attribute>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Trusted nodes</string>
|
||||
<string>Friends</string>
|
||||
</property>
|
||||
<property name="textAlignment">
|
||||
<set>AlignCenter</set>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ void SubscribeToolButton::updateUi()
|
|||
#else
|
||||
setPopupMode(QToolButton::InstantPopup);
|
||||
#endif
|
||||
setIcon(QIcon(":/images/accepted16.png"));
|
||||
//setIcon(QIcon(":/images/accepted16.png"));
|
||||
setText(tr("Subscribed"));
|
||||
|
||||
if(mMenu != NULL) // that's because setMenu does not give away memory ownership
|
||||
|
|
@ -86,7 +86,7 @@ void SubscribeToolButton::updateUi()
|
|||
} else {
|
||||
setPopupMode(QToolButton::DelayedPopup);
|
||||
setMenu(NULL);
|
||||
setIcon(QIcon(":/images/RSS_004_32.png"));
|
||||
//setIcon(QIcon(":/images/RSS_004_32.png"));
|
||||
setText(tr("Subscribe"));
|
||||
|
||||
#ifndef USE_MENUBUTTONPOPUP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue