summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-29 17:24:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-29 17:59:57 +0300
commitf315432679f760b71505e74dcb2185b7aef7a906 (patch)
tree07d45620464a2542cb28fbe773f652501e6ee6fb /src/gui/serverdialog.cpp
parentcccb3e11663eb415b9b6c9a184e1c17762a2d989 (diff)
downloadplus-f315432679f760b71505e74dcb2185b7aef7a906.tar.gz
plus-f315432679f760b71505e74dcb2185b7aef7a906.tar.bz2
plus-f315432679f760b71505e74dcb2185b7aef7a906.tar.xz
plus-f315432679f760b71505e74dcb2185b7aef7a906.zip
change smaller letter literalt into capital letter.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index fcebad81d..2b3f7c697 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -168,11 +168,11 @@ public:
updateAlpha();
- mHighlightColor.a = static_cast<int>(mAlpha * 255.0f);
+ mHighlightColor.a = static_cast<int>(mAlpha * 255.0F);
g->setColor(mHighlightColor);
const int height = getRowHeight();
- mNotSupportedColor.a = static_cast<int>(mAlpha * 255.0f);
+ mNotSupportedColor.a = static_cast<int>(mAlpha * 255.0F);
// Draw filled rectangle around the selected list element
if (mSelected >= 0)
@@ -268,7 +268,7 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo,
mDir(dir),
mDownloadStatus(DOWNLOADING_UNKNOWN),
mDownload(nullptr),
- mDownloadProgress(-1.0f),
+ mDownloadProgress(-1.0F),
mServerInfo(serverInfo),
mPersistentIPCheckBox(nullptr)
{
@@ -821,10 +821,10 @@ int ServerDialog::downloadUpdate(void *ptr, DownloadStatus status,
if (total)
progress /= static_cast<float>(total);
- if (progress != progress || progress < 0.0f)
+ if (progress != progress || progress < 0.0F)
progress = 0.0f;
- else if (progress > 1.0f)
- progress = 1.0f;
+ else if (progress > 1.0F)
+ progress = 1.0F;
MutexLocker lock1(&sd->mMutex);
sd->mDownloadStatus = DOWNLOADING_IN_PROGRESS;