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:
parent
b6ccbfc62f
commit
904a584d75
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user