aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/WhatsApp.pro2
-rw-r--r--src/common.h5
-rw-r--r--src/mainwindow.cpp2
-rw-r--r--src/settingswidget.cpp2
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) {