diff options
author | 2022-02-28 18:25:49 +0530 | |
---|---|---|
committer | 2022-02-28 18:25:49 +0530 | |
commit | ed88d77268967fd3f4db9106a37739cc2937cf04 (patch) | |
tree | a32a2fbe858b7a625cfd23ba78b733277319f435 /src | |
parent | 9867a6b6279229d53fe59854a511c9eea9888427 (diff) | |
download | whatsie-ed88d77268967fd3f4db9106a37739cc2937cf04.tar.gz whatsie-ed88d77268967fd3f4db9106a37739cc2937cf04.zip |
version 3.0
Diffstat (limited to 'src')
-rw-r--r-- | src/WhatsApp.pro | 2 | ||||
-rw-r--r-- | src/common.h | 5 | ||||
-rw-r--r-- | src/mainwindow.cpp | 2 | ||||
-rw-r--r-- | src/settingswidget.cpp | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/src/WhatsApp.pro b/src/WhatsApp.pro index c7d256f..103032b 100644 --- a/src/WhatsApp.pro +++ b/src/WhatsApp.pro @@ -43,7 +43,7 @@ CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT # Set program version -VERSION = 2.0 +VERSION = 3.0 DEFINES += VERSIONSTR=\\\"$${VERSION}\\\" SOURCES += \ diff --git a/src/common.h b/src/common.h index 261ee64..92a67c2 100644 --- a/src/common.h +++ b/src/common.h @@ -2,6 +2,9 @@ #define COMMON_H #include <QString> -QString defaultUserAgentStr = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.4389.114 Safari/537.36"; +//QString defaultUserAgentStr = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.4389.114 Safari/537.36"; + +QString defaultUserAgentStr = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"; #endif // COMMON_H + diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 9f7e187..216ccd6 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -707,7 +707,7 @@ void MainWindow::fullScreenRequested(QWebEngineFullScreenRequest request) { } void MainWindow::handleWebViewTitleChanged(QString title) { - setWindowTitle(title); + setWindowTitle( QApplication::applicationName() +": "+ title); if (notificationsTitleRegExp.exactMatch(title)) { if (notificationsTitleRegExp.isEmpty() == false) { diff --git a/src/settingswidget.cpp b/src/settingswidget.cpp index 5903491..ba42372 100644 --- a/src/settingswidget.cpp +++ b/src/settingswidget.cpp @@ -387,7 +387,7 @@ void SettingsWidget::on_notificationCombo_currentIndexChanged(int index) { } void SettingsWidget::on_tryNotification_clicked() { - emit notify("Test Notification"); + emit notify("This is a test notification..."); } void SettingsWidget::on_automaticThemeCheckBox_toggled(bool checked) { |