mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-06 14:03:54 -04:00
Fixed compiler warnings.
Fixed tab order in config pages Directories and Server. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4972 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3208fcaffe
commit
0538c45fef
@ -730,8 +730,17 @@ you plug it in.</string>
|
||||
</layout>
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>shareDownloadDirectoryCB</tabstop>
|
||||
<tabstop>editShareButton</tabstop>
|
||||
<tabstop>rememberHashesCB</tabstop>
|
||||
<tabstop>rememberHashesSB</tabstop>
|
||||
<tabstop>cleanHashCachePB</tabstop>
|
||||
<tabstop>autoCheckDirectories_CB</tabstop>
|
||||
<tabstop>autoCheckDirectoriesDelay_SB</tabstop>
|
||||
<tabstop>incomingDir</tabstop>
|
||||
<tabstop>incomingButton</tabstop>
|
||||
<tabstop>partialsDir</tabstop>
|
||||
<tabstop>partialButton</tabstop>
|
||||
</tabstops>
|
||||
<resources>
|
||||
<include location="../images.qrc"/>
|
||||
|
@ -842,10 +842,10 @@ behind a firewall or a VPN.</string>
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Warning</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-weight:600;"></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-weight:600;"> </span>This tab contains hard-core parameters which are unlikely to need modification. Dont change them unless you really know what you're doing. </p></body></html></string>
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu'; font-size:11pt; font-weight:600;">Warning</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-family:'Ubuntu'; font-size:11pt; font-weight:600;"></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-family:'Ubuntu'; font-size:11pt; font-weight:600;"> </span><span style=" font-family:'Ubuntu'; font-size:11pt;">This tab contains hard-core parameters which are unlikely to need modification. Dont change them unless you really know what you're doing. </span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -905,10 +905,22 @@ The default value is 20.</string>
|
||||
</layout>
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>netModeComboBox</tabstop>
|
||||
<tabstop>discComboBox</tabstop>
|
||||
<tabstop>tabWidget</tabstop>
|
||||
<tabstop>localAddress</tabstop>
|
||||
<tabstop>localPort</tabstop>
|
||||
<tabstop>extAddress</tabstop>
|
||||
<tabstop>extPort</tabstop>
|
||||
<tabstop>dynDNS</tabstop>
|
||||
<tabstop>allowTunnelConnectionCB</tabstop>
|
||||
<tabstop>showDiscStatusBar</tabstop>
|
||||
<tabstop>totalDownloadRate</tabstop>
|
||||
<tabstop>totalUploadRate</tabstop>
|
||||
<tabstop>allowIpDeterminationCB</tabstop>
|
||||
<tabstop>IPServersLV</tabstop>
|
||||
<tabstop>textBrowser</tabstop>
|
||||
<tabstop>_max_tr_up_per_sec_SB</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections/>
|
||||
|
@ -29,7 +29,7 @@ class ConfigPage : public QWidget
|
||||
{
|
||||
public:
|
||||
/** Default Constructor */
|
||||
ConfigPage(QWidget *parent = 0, Qt::WFlags flags = 0) : loaded(false) {}
|
||||
ConfigPage(QWidget *parent = 0, Qt::WFlags flags = 0) : QWidget(parent, flags), loaded(false) {}
|
||||
|
||||
/** Pure virtual method. Subclassed pages load their config settings here. */
|
||||
virtual void load() = 0;
|
||||
@ -50,7 +50,7 @@ class ConfigPage : public QWidget
|
||||
virtual QString pageName() const = 0 ;
|
||||
|
||||
protected:
|
||||
virtual void showEvent(QShowEvent * event)
|
||||
virtual void showEvent(QShowEvent * /*event*/)
|
||||
{
|
||||
if(!loaded)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user