mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Coding style clean up
This commit is contained in:
@@ -44,7 +44,7 @@ bool QMacApplication::event(QEvent * ev) {
|
||||
case QEvent::FileOpen:
|
||||
{
|
||||
QString path = static_cast<QFileOpenEvent *>(ev)->file();
|
||||
if(path.isEmpty()) {
|
||||
if (path.isEmpty()) {
|
||||
// Get the url instead
|
||||
path = static_cast<QFileOpenEvent *>(ev)->url().toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user