summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-07-22 21:50:44 +0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-24 07:29:30 -0700
commit458b23492034207d7e292cefcd14e5f6adb5b74b (patch)
tree117b1fa14122c433d29e5659830b033067ab7e77
parent6f146e8e8d8305787407dba2c0bbf4884f8e7c8c (diff)
downloadsubsurface-458b23492034207d7e292cefcd14e5f6adb5b74b.tar.gz
Align progressbar text to center of the widget
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/subsurfacewebservices.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index daeb5385c..31358cf07 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -321,6 +321,7 @@ SubsurfaceWebServices::SubsurfaceWebServices(QWidget *parent, Qt::WindowFlags f)
ui.progressBar->setFormat("Enter User ID and click Download");
ui.progressBar->setRange(0, 1);
ui.progressBar->setValue(-1);
+ ui.progressBar->setAlignment(Qt::AlignCenter);
ui.saveUidLocal->setChecked(prefs.save_userid_local);
QShortcut *close = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_W), this);
connect(close, SIGNAL(activated()), this, SLOT(close()));