From: Mjolnir Date: Wed, 9 Sep 2015 16:01:35 +0000 (+0200) Subject: remove buttons in peephole X-Git-Url: https://git.thomaspietrzak.com/?a=commitdiff_plain;h=52cbc9e133b66afe1b513de4e2ae827956bd5c1c;p=livingdesktop.git remove buttons in peephole --- diff --git a/LivingDemos/Peephole.cpp b/LivingDemos/Peephole.cpp index 8522d38..9295c38 100644 --- a/LivingDemos/Peephole.cpp +++ b/LivingDemos/Peephole.cpp @@ -27,6 +27,10 @@ Peephole::Peephole(QWidget *parent) : ui->image->setDragMode(QGraphicsView::ScrollHandDrag); ui->image->setResizeAnchor(QGraphicsView::AnchorViewCenter); + ui->appbutton1->setVisible(false); + ui->appbutton2->setVisible(false); + ui->appbutton3->setVisible(false); + connect(ui->image->horizontalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(scroll(int))); MenuPrincipal * menu = dynamic_cast(parent);