From ef897827def081b3ac72f0a74bfc87d983612900 Mon Sep 17 00:00:00 2001 From: Jorge Cuadrado Date: Sun, 30 Dec 2007 01:04:58 -0500 Subject: [PATCH] Activate antialiasing in camera --- src/components/camera/camera.ui | 6 +++++- src/components/camera/camerawidget.cpp | 1 + src/shell/main.cpp | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/camera/camera.ui b/src/components/camera/camera.ui index efe9fd6..241b295 100644 --- a/src/components/camera/camera.ui +++ b/src/components/camera/camera.ui @@ -14,7 +14,11 @@ - + + + QPainter::Antialiasing|QPainter::HighQualityAntialiasing|QPainter::TextAntialiasing + + diff --git a/src/components/camera/camerawidget.cpp b/src/components/camera/camerawidget.cpp index 4e3cf2f..09435bc 100644 --- a/src/components/camera/camerawidget.cpp +++ b/src/components/camera/camerawidget.cpp @@ -45,6 +45,7 @@ CameraWidget::CameraWidget(Dash::Project *const project, QWidget *parent) d->ui->setupUi(this); connect(d->ui->preview, SIGNAL(clicked()), this, SLOT(play())); + connect(d->ui->fps, SIGNAL(valueChanged(int)), d->ui->area, SLOT(setFps(int))); } diff --git a/src/shell/main.cpp b/src/shell/main.cpp index e7660b4..c9818ae 100644 --- a/src/shell/main.cpp +++ b/src/shell/main.cpp @@ -37,6 +37,6 @@ int main(int argc, char **argv) splash->finish(); - return app.exec(); + return app.exec(); } -- 2.11.4.GIT