summaryrefslogtreecommitdiffstats
path: root/encodemp4jobgui.cpp
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2009-09-27 01:59:19 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2009-09-27 02:00:07 -0400
commit6726c0af8409bafee259991bd4ccc8e8cbdb4544 (patch)
tree5198e5e47be066f0d4b4a3826fd8738370e5321e /encodemp4jobgui.cpp
parentMore gui work and dvd loading. (diff)
downloadAnyRip-6726c0af8409bafee259991bd4ccc8e8cbdb4544.tar.xz
AnyRip-6726c0af8409bafee259991bd4ccc8e8cbdb4544.zip
Add from ISO
Diffstat (limited to 'encodemp4jobgui.cpp')
-rw-r--r--encodemp4jobgui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/encodemp4jobgui.cpp b/encodemp4jobgui.cpp
index 5a679f1..034bb10 100644
--- a/encodemp4jobgui.cpp
+++ b/encodemp4jobgui.cpp
@@ -10,11 +10,11 @@ EncodeMP4JobGui::EncodeMP4JobGui(EncodeMP4Job *job)
m_progressBar->setMaximum(10000);
m_progressLabel = new QLabel;
QVBoxLayout *layout = new QVBoxLayout;
- layout->addWidget(new QLabel(tr("<b>Encoding MP4</b> of <i>%1</i>").arg(job->video()->title())));
layout->addWidget(m_progressBar);
layout->addWidget(m_progressLabel);
setLayout(layout);
- setFrameStyle(QFrame::StyledPanel);
+ setTitle(tr("Encoding MP4 of %1").arg(job->video()->title()));
+ setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
connect(job, SIGNAL(encodeProgress(int,int,float,float,float,QTime)), this, SLOT(encodeProgress(int,int,float,float,float,QTime)));
}
void EncodeMP4JobGui::encodeProgress(int currentTask, int totalTasks, float percent, float currentFps, float avgFps, QTime timeRemaining)