Formatting

This commit is contained in:
Jonas Kvinge
2021-02-02 21:08:58 +01:00
parent 59b48ceb4a
commit 03959a68d5
68 changed files with 50 additions and 99 deletions

View File

@@ -91,4 +91,3 @@ void Appearance::ChangeBackgroundColor(const QColor &color) {
background_color_ = color;
}

View File

@@ -44,4 +44,3 @@ class Appearance : public QObject {
};
#endif // APPEARANCE_H

View File

@@ -398,4 +398,3 @@ QDataStream& operator>>(QDataStream &s, CommandlineOptions &a) {
return s;
}

View File

@@ -123,4 +123,3 @@ void DeleteFiles::ProcessSomeFiles() {
QTimer::singleShot(0, this, &DeleteFiles::ProcessSomeFiles);
}

View File

@@ -44,4 +44,3 @@ class FileSystemWatcherInterface : public QObject {
};
#endif

View File

@@ -61,5 +61,4 @@ class MacFSListener : public FileSystemWatcherInterface {
QTimer *update_timer_;
};
#endif
#endif // MACFSLISTENER_H

View File

@@ -393,4 +393,3 @@ class MainWindow : public QMainWindow, public PlatformInterface {
};
#endif // MAINWINDOW_H

View File

@@ -114,4 +114,3 @@ class MergedProxyModel : public QAbstractProxyModel {
};
#endif // MERGEDPROXYMODEL_H

View File

@@ -3,4 +3,4 @@
void RegisterMetaTypes();
#endif
#endif // METATYPES_H

View File

@@ -75,4 +75,3 @@ class MimeData : public QMimeData {
};
#endif // MIMEDATA_H

View File

@@ -243,4 +243,4 @@ class Mpris2 : public QObject {
} // namespace mpris
#endif
#endif // MPRIS2_H

View File

@@ -61,4 +61,4 @@ inline QString AsMPRISDateTimeType(const int time) {
} // namespace mpris
#endif // MPRIS_COMMON_H
#endif // MPRIS_COMMON_H

View File

@@ -106,4 +106,3 @@ int MultiSortFilterProxy::Compare(const QVariant &left, const QVariant &right) c
return 0;
}

View File

@@ -142,4 +142,3 @@ QList<QNetworkProxy> NetworkProxyFactory::queryProxy(const QNetworkProxyQuery &q
return QList<QNetworkProxy>() << ret;
}

View File

@@ -46,4 +46,3 @@ void ScopedTransaction::Commit() {
db_->commit();
pending_ = false;
}

View File

@@ -53,4 +53,3 @@ void DefaultSettingsProvider::setArrayIndex(int i) {
}
void DefaultSettingsProvider::endArray() { backend_.endArray(); }

View File

@@ -50,4 +50,3 @@ gulong CheckedGConnect(gpointer source, const char *signal, GCallback callback,
return g_signal_connect(source, signal, G_CALLBACK(callback), data);
}

View File

@@ -176,4 +176,3 @@ QImage TagReaderClient::LoadEmbeddedArtBlocking(const QString &filename) {
return ret;
}

View File

@@ -140,4 +140,3 @@ int TaskManager::GetTaskProgress(int id) {
}
}

View File

@@ -29,7 +29,7 @@ class QObject;
// Improve QThread by adding a SetIoPriority function
class Thread : public QThread {
public:
explicit Thread(QObject* parent = nullptr) : QThread(parent), io_priority_(Utilities::IOPRIO_CLASS_NONE) {}
explicit Thread(QObject *parent = nullptr) : QThread(parent), io_priority_(Utilities::IOPRIO_CLASS_NONE) {}
void SetIoPriority(Utilities::IoPriority priority) {
io_priority_ = priority;