Formatting
This commit is contained in:
@@ -91,4 +91,3 @@ void Appearance::ChangeBackgroundColor(const QColor &color) {
|
||||
background_color_ = color;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -44,4 +44,3 @@ class Appearance : public QObject {
|
||||
};
|
||||
|
||||
#endif // APPEARANCE_H
|
||||
|
||||
|
||||
@@ -398,4 +398,3 @@ QDataStream& operator>>(QDataStream &s, CommandlineOptions &a) {
|
||||
return s;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -123,4 +123,3 @@ void DeleteFiles::ProcessSomeFiles() {
|
||||
QTimer::singleShot(0, this, &DeleteFiles::ProcessSomeFiles);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -44,4 +44,3 @@ class FileSystemWatcherInterface : public QObject {
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -61,5 +61,4 @@ class MacFSListener : public FileSystemWatcherInterface {
|
||||
QTimer *update_timer_;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif // MACFSLISTENER_H
|
||||
|
||||
@@ -393,4 +393,3 @@ class MainWindow : public QMainWindow, public PlatformInterface {
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
|
||||
@@ -114,4 +114,3 @@ class MergedProxyModel : public QAbstractProxyModel {
|
||||
};
|
||||
|
||||
#endif // MERGEDPROXYMODEL_H
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
void RegisterMetaTypes();
|
||||
|
||||
#endif
|
||||
#endif // METATYPES_H
|
||||
|
||||
@@ -75,4 +75,3 @@ class MimeData : public QMimeData {
|
||||
};
|
||||
|
||||
#endif // MIMEDATA_H
|
||||
|
||||
|
||||
@@ -243,4 +243,4 @@ class Mpris2 : public QObject {
|
||||
} // namespace mpris
|
||||
|
||||
|
||||
#endif
|
||||
#endif // MPRIS2_H
|
||||
|
||||
@@ -61,4 +61,4 @@ inline QString AsMPRISDateTimeType(const int time) {
|
||||
|
||||
} // namespace mpris
|
||||
|
||||
#endif // MPRIS_COMMON_H
|
||||
#endif // MPRIS_COMMON_H
|
||||
|
||||
@@ -106,4 +106,3 @@ int MultiSortFilterProxy::Compare(const QVariant &left, const QVariant &right) c
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -142,4 +142,3 @@ QList<QNetworkProxy> NetworkProxyFactory::queryProxy(const QNetworkProxyQuery &q
|
||||
return QList<QNetworkProxy>() << ret;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -46,4 +46,3 @@ void ScopedTransaction::Commit() {
|
||||
db_->commit();
|
||||
pending_ = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -53,4 +53,3 @@ void DefaultSettingsProvider::setArrayIndex(int i) {
|
||||
}
|
||||
|
||||
void DefaultSettingsProvider::endArray() { backend_.endArray(); }
|
||||
|
||||
|
||||
@@ -50,4 +50,3 @@ gulong CheckedGConnect(gpointer source, const char *signal, GCallback callback,
|
||||
return g_signal_connect(source, signal, G_CALLBACK(callback), data);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -176,4 +176,3 @@ QImage TagReaderClient::LoadEmbeddedArtBlocking(const QString &filename) {
|
||||
return ret;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -140,4 +140,3 @@ int TaskManager::GetTaskProgress(int id) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user