mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-24 14:23:36 -05:00
Fixed Auto-Download Button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4846 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4433872cb6
commit
522729bae4
@ -488,14 +488,14 @@ void ChannelFeed::updateChannelMsgs()
|
||||
|
||||
if (ci.channelFlags & RS_DISTRIB_PUBLISH) {
|
||||
postButton->setEnabled(true);
|
||||
actionsetAllAsRead->setEnabled(false);
|
||||
actionEnable_Auto_Download->setEnabled(false);
|
||||
} else {
|
||||
postButton->setEnabled(false);
|
||||
}
|
||||
|
||||
if(!(ci.channelFlags & RS_DISTRIB_PUBLISH) &&
|
||||
(ci.channelFlags & RS_DISTRIB_SUBSCRIBED))
|
||||
actionsetAllAsRead->setEnabled(true);
|
||||
actionEnable_Auto_Download->setEnabled(true);
|
||||
|
||||
|
||||
std::list<ChannelMsgSummary> msgs;
|
||||
|
@ -432,7 +432,24 @@ border-image: url(:/images/btn_26_pressed.png) 4;
|
||||
<string>Post to Channel</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
<string notr="true">QToolButton, QPushButton, QComboBox {
|
||||
border-image: url(:/images/btn_26.png) 4;
|
||||
border-width: 4;
|
||||
padding: 0px 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
QToolButton:hover, QPushButton:hover, QComboBox:hover {
|
||||
border-image: url(:/images/btn_26_hover.png) 4;
|
||||
}
|
||||
|
||||
QToolButton:disabled, QPushButton:disabled, QComboBox::disabled {
|
||||
color:gray;
|
||||
}
|
||||
|
||||
QToolButton:pressed, QPushButton:pressed{
|
||||
border-image: url(:/images/btn_26_pressed.png) 4;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
|
Loading…
Reference in New Issue
Block a user