mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-20 00:32:11 +08:00
Block users from using development branches
This commit is contained in:
@@ -12,6 +12,11 @@ bool FrogPilotConfirmationDialog::yesorno(const QString &prompt_text, QWidget *p
|
||||
return d.exec();
|
||||
}
|
||||
|
||||
bool isFrogsGoMoo() {
|
||||
static bool is_FrogsGoMoo = QFile::exists("/persist/frogsgomoo.py");
|
||||
return is_FrogsGoMoo;
|
||||
}
|
||||
|
||||
void clearMovie(QSharedPointer<QMovie> &movie, QWidget *parent) {
|
||||
if (!movie) {
|
||||
return;
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#include "selfdrive/ui/qt/util.h"
|
||||
#include "selfdrive/ui/qt/widgets/controls.h"
|
||||
|
||||
bool isFrogsGoMoo();
|
||||
|
||||
void loadGif(const QString &gifPath, QSharedPointer<QMovie> &movie, const QSize &size, QWidget *parent);
|
||||
void loadImage(const QString &basePath, QPixmap &pixmap, QSharedPointer<QMovie> &movie, const QSize &size, QWidget *parent);
|
||||
void openDescriptions(bool forceOpenDescriptions, std::map<QString, AbstractControl*> toggles);
|
||||
|
||||
Reference in New Issue
Block a user