mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Add basic update checking
This commit is contained in:
@@ -69,6 +69,10 @@ private:
|
||||
QNetworkReply *logUploadReply = nullptr;
|
||||
QByteArray logUploadReturnData;
|
||||
|
||||
QBuffer updatePostData;
|
||||
QNetworkReply *updateReply = nullptr;
|
||||
QByteArray updateReturnData;
|
||||
|
||||
obs_output_t fileOutput = nullptr;
|
||||
obs_output_t streamOutput = nullptr;
|
||||
obs_service_t service = nullptr;
|
||||
@@ -120,6 +124,9 @@ private:
|
||||
|
||||
bool QueryRemoveSource(obs_source_t source);
|
||||
|
||||
void TimedCheckForUpdates();
|
||||
void CheckForUpdates();
|
||||
|
||||
void GetFPSCommon(uint32_t &num, uint32_t &den) const;
|
||||
void GetFPSInteger(uint32_t &num, uint32_t &den) const;
|
||||
void GetFPSFraction(uint32_t &num, uint32_t &den) const;
|
||||
@@ -221,6 +228,7 @@ private slots:
|
||||
void on_action_Settings_triggered();
|
||||
void on_actionUploadCurrentLog_triggered();
|
||||
void on_actionUploadLastLog_triggered();
|
||||
void on_actionCheckForUpdates_triggered();
|
||||
|
||||
void on_actionEditTransform_triggered();
|
||||
void on_actionResetTransform_triggered();
|
||||
@@ -262,6 +270,9 @@ private slots:
|
||||
void logUploadRead();
|
||||
void logUploadFinished();
|
||||
|
||||
void updateFileRead();
|
||||
void updateFileFinished();
|
||||
|
||||
void AddSourceFromAction();
|
||||
|
||||
void EditSceneName();
|
||||
|
||||
Reference in New Issue
Block a user