started translating without restarting

This commit is contained in:
itsmattkc
2019-02-17 03:15:18 -08:00
parent 059e2a1fe8
commit 5b59207cb4
20 changed files with 7227 additions and 7058 deletions
+5 -1
View File
@@ -56,7 +56,7 @@ extern "C" {
#include <QPushButton>
Viewer::Viewer(QWidget *parent) :
QDockWidget(parent),
Panel(parent),
playing(false),
just_played(false),
media(nullptr),
@@ -99,6 +99,10 @@ Viewer::Viewer(QWidget *parent) :
Viewer::~Viewer() {}
void Viewer::Retranslate() {
update_window_title();
}
bool Viewer::is_focused() {
return headers->hasFocus()
|| viewer_widget->hasFocus()