mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-01 10:05:10 -05:00
improved display of turtle routing info, corrected some minor compilation issues
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2248 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
24f8ca5b98
commit
b899327f13
@ -23,7 +23,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../rsserver/p3Blog.h"
|
#include <rsserver/p3blog.h>
|
||||||
|
|
||||||
RsQblog* rsQblog = NULL;
|
RsQblog* rsQblog = NULL;
|
||||||
|
|
||||||
|
@ -1708,7 +1708,7 @@ RsTurtle *rsTurtle = NULL ;
|
|||||||
#include "rsserver/p3msgs.h"
|
#include "rsserver/p3msgs.h"
|
||||||
#include "rsserver/p3discovery.h"
|
#include "rsserver/p3discovery.h"
|
||||||
#include "rsserver/p3photo.h"
|
#include "rsserver/p3photo.h"
|
||||||
#include "rsserver/p3Blog.h"
|
#include "rsserver/p3blog.h"
|
||||||
#include "rsiface/rsgame.h"
|
#include "rsiface/rsgame.h"
|
||||||
|
|
||||||
#include "pqi/p3notify.h" // HACK - moved to pqi for compilation order.
|
#include "pqi/p3notify.h" // HACK - moved to pqi for compilation order.
|
||||||
|
@ -1717,7 +1717,7 @@ static std::string printNumber(uint64_t num,bool hex=false)
|
|||||||
{
|
{
|
||||||
char tmp[100] ;
|
char tmp[100] ;
|
||||||
|
|
||||||
if(num < (1<<32))
|
if(num < (((uint64_t)1)<<32))
|
||||||
sprintf(tmp,"%08x", uint32_t(num)) ;
|
sprintf(tmp,"%08x", uint32_t(num)) ;
|
||||||
else
|
else
|
||||||
sprintf(tmp,"%08x%08x", uint32_t(num >> 32),uint32_t(num & ( (1<<32)-1 ))) ;
|
sprintf(tmp,"%08x%08x", uint32_t(num >> 32),uint32_t(num & ( (1<<32)-1 ))) ;
|
||||||
|
@ -853,5 +853,7 @@ void SharedFilesDialog::indicatorChanged(int index)
|
|||||||
|
|
||||||
ui.remoteDirTreeView->update(ui.remoteDirTreeView->rootIndex());
|
ui.remoteDirTreeView->update(ui.remoteDirTreeView->rootIndex());
|
||||||
ui.localDirTreeView->update(ui.localDirTreeView->rootIndex()) ;
|
ui.localDirTreeView->update(ui.localDirTreeView->rootIndex()) ;
|
||||||
|
|
||||||
|
updateDisplay() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +23,9 @@ TurtleRouterDialog::TurtleRouterDialog(QWidget *parent)
|
|||||||
|
|
||||||
void TurtleRouterDialog::showCtxMenu(const QPoint& point)
|
void TurtleRouterDialog::showCtxMenu(const QPoint& point)
|
||||||
{
|
{
|
||||||
|
if(_hashes_TW->currentItem() == NULL)
|
||||||
|
return ;
|
||||||
|
|
||||||
std::cerr << "execing context menu" << std::endl ;
|
std::cerr << "execing context menu" << std::endl ;
|
||||||
// create context menus.
|
// create context menus.
|
||||||
QMenu contextMnu( this );
|
QMenu contextMnu( this );
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>435</width>
|
<width>604</width>
|
||||||
<height>340</height>
|
<height>340</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -94,7 +94,7 @@
|
|||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="3" column="0" colspan="2">
|
||||||
<widget class="QCheckBox" name="checkBox">
|
<widget class="QCheckBox" name="checkBox">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Show Cache Transfers</string>
|
<string>Show Cache Transfers</string>
|
||||||
@ -148,8 +148,8 @@ p, li { white-space: pre-wrap; }
|
|||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">RetroShare</span><span style=" font-size:8pt;"> is capable of transfering data and search requests between peers that are not necessarily friends. This traffic however only transits through a connected list of friends and is anonymous.</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">RetroShare</span><span style=" font-size:8pt;"> is capable of transfering data and search requests between peers that are not necessarily friends. This traffic however only transits through a connected list of friends and is anonymous.</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">You can separately setup share flags for each shared directory in the shared files dialog to be:</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">You can separately setup share flags for each shared directory in the shared files dialog to be:</span></p>
|
||||||
<ul style="-qt-list-indent: 1;"><li style=" font-size:8pt;" style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Browsable by friends</span>: files are browsable from your direct friends.</li>
|
<ul style="-qt-list-indent: 1;"><li style=" font-size:8pt;" style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Browsable by friends</span>: files are seen by your friends.</li>
|
||||||
<li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Anonymously shared</span>: files can be downloaded by anybody through anonymous tunnels.</li></ul></body></html></string>
|
<li style=" font-size:8pt;" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Anonymously shared</span>: files are anonymously reachable through distant F2F tunnels.</li></ul></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user