mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Fix coding style
This commit is contained in:
parent
c8c7ed4a2e
commit
4022799881
79 changed files with 717 additions and 772 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Bittorrent Client using Qt and libtorrent.
|
||||
* Copyright (C) 2006 Christophe Dumez
|
||||
* Copyright (C) 2006 Christophe Dumez <chris@qbittorrent.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -24,15 +24,13 @@
|
|||
* modify file(s), you may extend this exception to your version of the file(s),
|
||||
* but you are not obligated to do so. If you do not wish to do so, delete this
|
||||
* exception statement from your version.
|
||||
*
|
||||
* Contact : chris@qbittorrent.org
|
||||
*/
|
||||
|
||||
#ifndef HIDABLETABWIDGET_H
|
||||
#define HIDABLETABWIDGET_H
|
||||
|
||||
#include <QTabWidget>
|
||||
#include <QTabBar>
|
||||
#include <QTabWidget>
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#include <QStyle>
|
||||
|
@ -48,7 +46,7 @@ public:
|
|||
|
||||
protected:
|
||||
#ifdef Q_OS_MAC
|
||||
void paintEvent(QPaintEvent* event) override
|
||||
void paintEvent(QPaintEvent *event) override
|
||||
{
|
||||
// Hide the pane for macintosh style
|
||||
if (!style()->inherits("QMacStyle"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue