aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2021-06-07 12:24:32 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2021-06-07 12:24:32 +0530
commit4deed2488131ffd8d2646c57eea8ab5b8c3bc334 (patch)
tree5b4b13a0552dd630701b9d11cae85aba548f06e0 /src/mainwindow.h
parent12f4214e6a3614bd787fc6027fb9025b15df34b1 (diff)
downloadwhatsie-4deed2488131ffd8d2646c57eea8ab5b8c3bc334.tar.gz
whatsie-4deed2488131ffd8d2646c57eea8ab5b8c3bc334.zip
code refactoring
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index f5c51b2..98da302 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -50,7 +50,7 @@ public slots:
void handleWebViewTitleChanged(QString title);
void handleLoadFinished(bool loaded);
void handleDownloadRequested(QWebEngineDownloadItem *download);
- void loadAppWithArgument(const QString arg);
+ void loadAppWithArgument(const QString &arg);
protected slots:
@@ -109,7 +109,7 @@ private slots:
void handleCookieAdded(const QNetworkCookie &cookie);
QString getPageTheme();
- void toggleMute(const bool checked);
+ void toggleMute(const bool &checked);
void doAppReload();
void askToReloadPage();
void updateSettingsUserAgentWidget();
@@ -127,7 +127,7 @@ private slots:
void loadingQuirk(QString test);
void setNotificationPresenter(QWebEngineProfile *profile);
void newChat();
- bool isPhoneNumber(const QString phoneNumber);
+ bool isPhoneNumber(const QString &phoneNumber);
void quitApp();
};