diff options
author | Itay Grudev <itay+github.com@grudev.com> | 2020-05-25 06:59:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-25 06:59:05 +0100 |
commit | 84e225109d413ec93537a15f354e86e872027e7c (patch) | |
tree | a7206246b69fc6740c1a8974503ffe4daa257e5b /singleapplication.cpp | |
parent | Merge pull request #103 from Shatur95/update_cmake_examples_version (diff) | |
parent | Fix Clang Tidy warnings (diff) | |
download | singleapplication-84e225109d413ec93537a15f354e86e872027e7c.tar.xz |
Merge pull request #104 from Shatur95/fix_clang_tidy_warnings
Fix Clang Tidy warnings
Diffstat (limited to 'singleapplication.cpp')
-rw-r--r-- | singleapplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/singleapplication.cpp b/singleapplication.cpp index 39d1f1e..9af3880 100644 --- a/singleapplication.cpp +++ b/singleapplication.cpp @@ -85,7 +85,7 @@ SingleApplication::SingleApplication( int &argc, char *argv[], bool allowSeconda } } - InstancesInfo* inst = static_cast<InstancesInfo*>( d->memory->data() ); + auto *inst = static_cast<InstancesInfo*>( d->memory->data() ); QElapsedTimer time; time.start(); @@ -184,7 +184,7 @@ QString SingleApplication::currentUser() return d->getUsername(); } -bool SingleApplication::sendMessage( QByteArray message, int timeout ) +bool SingleApplication::sendMessage( const QByteArray &message, int timeout ) { Q_D(SingleApplication); |