mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 13:24:15 -05:00
Disable follow / rate buttons, and fix time filter periods
This commit is contained in:
parent
7d8323f3e2
commit
0113aed20f
@ -93,8 +93,8 @@ void PulseDetails::setup()
|
||||
frame_replies->setVisible(false);
|
||||
mHasReplies = false;
|
||||
|
||||
toolButton_follow->setEnabled(mActions != NULL);
|
||||
toolButton_rate->setEnabled(mActions != NULL);
|
||||
toolButton_follow->setEnabled(false); // TODO
|
||||
toolButton_rate->setEnabled(false); // TODO
|
||||
toolButton_reply->setEnabled(mActions != NULL);
|
||||
}
|
||||
|
||||
|
@ -556,16 +556,13 @@ rstime_t WireDialog::getFilterTimestamp()
|
||||
switch(ui.comboBox_filterTime->currentIndex())
|
||||
{
|
||||
case 1: // Last 24 Hours.
|
||||
// filterTimestamp -= (3600 * 24);
|
||||
filterTimestamp -= (1800);
|
||||
filterTimestamp -= (3600 * 24);
|
||||
break;
|
||||
case 2: // Last 7 Days.
|
||||
//filterTimestamp -= (3600 * 24 * 7);
|
||||
filterTimestamp -= (3600);
|
||||
filterTimestamp -= (3600 * 24 * 7);
|
||||
break;
|
||||
case 3: // Last 30 Days.
|
||||
//filterTimestamp -= (3600 * 24 * 30);
|
||||
filterTimestamp -= (4 * 3600);
|
||||
filterTimestamp -= (3600 * 24 * 30);
|
||||
break;
|
||||
case 0: // All Time.
|
||||
case -1: // no index.
|
||||
|
Loading…
x
Reference in New Issue
Block a user