Some tweaks.

This commit is contained in:
Martin Rotter 2015-06-03 07:55:40 +02:00
parent 71996f27de
commit cee624ac0d
2 changed files with 13 additions and 7 deletions

View file

@ -88,7 +88,7 @@
<item row="0" column="1">
<widget class="QStackedWidget" name="m_stackedSettings">
<property name="currentIndex">
<number>4</number>
<number>6</number>
</property>
<widget class="QWidget" name="m_pageGeneral">
<layout class="QFormLayout" name="formLayout_5">
@ -414,8 +414,8 @@ MySQL backend will automatically use database with name &quot;rssguard&quot;. Do
<rect>
<x>0</x>
<y>0</y>
<width>740</width>
<height>451</height>
<width>100</width>
<height>30</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
@ -492,8 +492,8 @@ MySQL backend will automatically use database with name &quot;rssguard&quot;. Do
<rect>
<x>0</x>
<y>0</y>
<width>734</width>
<height>425</height>
<width>167</width>
<height>219</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
@ -1332,7 +1332,7 @@ MySQL backend will automatically use database with name &quot;rssguard&quot;. Do
<string> ms</string>
</property>
<property name="minimum">
<number>1000</number>
<number>100</number>
</property>
<property name="maximum">
<number>15000</number>

View file

@ -62,16 +62,22 @@ QString NetworkFactory::networkErrorText(QNetworkReply::NetworkError error_code)
//: Network status.
return tr("protocol error");
case QNetworkReply::ContentAccessDenied:
return tr("access to content was denied");
case QNetworkReply::HostNotFoundError:
//: Network status.
return tr("host not found");
case QNetworkReply::OperationCanceledError:
case QNetworkReply::TimeoutError:
return tr("connection timed out or was cancelled");
case QNetworkReply::RemoteHostClosedError:
case QNetworkReply::ConnectionRefusedError:
//: Network status.
return tr("connection refused");
case QNetworkReply::TimeoutError:
case QNetworkReply::ProxyTimeoutError:
//: Network status.
return tr("connection timed out");