mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-10 14:25:50 -05:00
Fix compilation and some new warnings.
This commit is contained in:
parent
aca36a3e37
commit
40cf76808c
4 changed files with 13 additions and 8 deletions
|
|
@ -320,7 +320,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="2">
|
||||
<widget class="QPlainTextEdit" name="friendCertEdit">
|
||||
<widget class="RSPlainTextEdit" name="friendCertEdit">
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Courier New</family>
|
||||
|
|
@ -1560,6 +1560,11 @@ resources.</string>
|
|||
<header>gui/connect/ConnectFriendWizard.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>RSPlainTextEdit</class>
|
||||
<extends>QPlainTextEdit</extends>
|
||||
<header>gui/common/RSPlainTextEdit.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../images.qrc"/>
|
||||
|
|
|
|||
|
|
@ -209,8 +209,8 @@ QString misc::userFriendlyDuration(qlonglong seconds)
|
|||
|
||||
QString misc::timeRelativeToNow(uint32_t mtime)
|
||||
{
|
||||
if(mtime == 0)
|
||||
return QString();
|
||||
if( mtime == 0)
|
||||
return QString() ;
|
||||
|
||||
time_t now = time(NULL) ;
|
||||
if(mtime > now)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue