refactor: fix clang-tidy auto*, const&, and curly braces (#5083)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace chatterino {
|
||||
|
||||
void crossPlatformCopy(const QString &text)
|
||||
{
|
||||
auto clipboard = QApplication::clipboard();
|
||||
auto *clipboard = QApplication::clipboard();
|
||||
|
||||
clipboard->setText(text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user