1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Change video preview button text

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-09-12 23:35:44 +02:00
parent b6ccbfc62f
commit 904a584d75

View File

@ -131,7 +131,7 @@ public:
camView = new SelfCamView(parent->getWidget()->getCamera());
camView->hide(); // hide by default
testVideo = new QPushButton("enable video");
testVideo = new QPushButton("Show video preview");
connect(testVideo, SIGNAL(clicked()), this, SLOT(onTestVideoPressed()));
QVBoxLayout *vLayout = new QVBoxLayout();
@ -152,13 +152,13 @@ public:
void showTestVideo()
{
testVideo->setText("disable video");
testVideo->setText("Hide video preview");
camView->show();
}
void closeTestVideo()
{
testVideo->setText("enable video");
testVideo->setText("Show video preview");
camView->close();
}