diff options
-rw-r--r-- | snap/snapcraft.yaml | 2 | ||||
-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 |
5 files changed, 8 insertions, 5 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1eca789..1228d00 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: whatsie -version: '2.0' +version: '3.0' summary: Qt Based WhatsApp Client description: | Fast Light weight WhatsApp Client based on Qt's WebEngine, With lots of settings and packed goodies. 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) { |