mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Clean up usage of static keyword
They are either misused or redundant, so remove it.
This commit is contained in:
@@ -68,7 +68,7 @@ QString Item::name() const
|
||||
|
||||
bool Item::isValidPath(const QString &path)
|
||||
{
|
||||
static const QRegularExpression re(
|
||||
const QRegularExpression re(
|
||||
uR"(\A[^\%1]+(\%1[^\%1]+)*\z)"_qs.arg(Item::PathSeparator)
|
||||
, QRegularExpression::DontCaptureOption);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user