summaryrefslogtreecommitdiffstats
path: root/src/timeoutdialog.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-15 14:12:44 +0100
committerSimon Rettberg2017-12-15 14:12:44 +0100
commit024855948c923bd40ffaf526c1300dd8c0377698 (patch)
treea737e0a84e0b9f817bd67819f4bbaa39720a09cb /src/timeoutdialog.cpp
parentOLDSRC WEG! (diff)
downloadbeamergui-024855948c923bd40ffaf526c1300dd8c0377698.tar.gz
beamergui-024855948c923bd40ffaf526c1300dd8c0377698.tar.xz
beamergui-024855948c923bd40ffaf526c1300dd8c0377698.zip
Update to CMAKE, fix timeout dialog on Qt5, fix menu getting covered by window
Diffstat (limited to 'src/timeoutdialog.cpp')
-rw-r--r--src/timeoutdialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/timeoutdialog.cpp b/src/timeoutdialog.cpp
index 719fddd..418d791 100644
--- a/src/timeoutdialog.cpp
+++ b/src/timeoutdialog.cpp
@@ -13,11 +13,10 @@ TimeOutDialog::TimeOutDialog(int time, QWidget *parent)
// QProgressDialog takes ownership of QProgressBar
QProgressBar *qbar = new QProgressBar(this);
- qbar->setFormat("%v seconds");
+ qbar->setFormat(trUtf8("%v seconds"));
qbar->setMaximum(_time);
qbar->setMinimum(0);
qbar->setValue(_time);
- qbar->setLayoutDirection(Qt::RightToLeft);
setBar(qbar);
_timer.start(1000);
}