Formatting
This commit is contained in:
@@ -477,7 +477,7 @@ SongLoader::Result SongLoader::LoadRemote() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_GSTREAMER
|
#ifdef HAVE_GSTREAMER
|
||||||
void SongLoader::TypeFound(GstElement *, uint, GstCaps *caps, void *self) {
|
void SongLoader::TypeFound(GstElement*, uint, GstCaps *caps, void *self) {
|
||||||
|
|
||||||
SongLoader *instance = static_cast<SongLoader*>(self);
|
SongLoader *instance = static_cast<SongLoader*>(self);
|
||||||
|
|
||||||
@@ -525,7 +525,7 @@ GstPadProbeReturn SongLoader::DataReady(GstPad*, GstPadProbeInfo *info, gpointer
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_GSTREAMER
|
#ifdef HAVE_GSTREAMER
|
||||||
gboolean SongLoader::BusCallback(GstBus *, GstMessage *msg, gpointer self) {
|
gboolean SongLoader::BusCallback(GstBus*, GstMessage *msg, gpointer self) {
|
||||||
|
|
||||||
SongLoader *instance = reinterpret_cast<SongLoader*>(self);
|
SongLoader *instance = reinterpret_cast<SongLoader*>(self);
|
||||||
|
|
||||||
@@ -543,7 +543,7 @@ gboolean SongLoader::BusCallback(GstBus *, GstMessage *msg, gpointer self) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_GSTREAMER
|
#ifdef HAVE_GSTREAMER
|
||||||
GstBusSyncReply SongLoader::BusCallbackSync(GstBus *, GstMessage *msg, gpointer self) {
|
GstBusSyncReply SongLoader::BusCallbackSync(GstBus*, GstMessage *msg, gpointer self) {
|
||||||
|
|
||||||
SongLoader *instance = reinterpret_cast<SongLoader*>(self);
|
SongLoader *instance = reinterpret_cast<SongLoader*>(self);
|
||||||
|
|
||||||
|
|||||||
@@ -286,7 +286,7 @@ QRect OSDPretty::BoxBorder() const {
|
|||||||
return rect().adjusted(kDropShadowSize, kDropShadowSize, -kDropShadowSize, -kDropShadowSize);
|
return rect().adjusted(kDropShadowSize, kDropShadowSize, -kDropShadowSize, -kDropShadowSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OSDPretty::paintEvent(QPaintEvent *) {
|
void OSDPretty::paintEvent(QPaintEvent*) {
|
||||||
|
|
||||||
QPainter p(this);
|
QPainter p(this);
|
||||||
p.setRenderHint(QPainter::Antialiasing);
|
p.setRenderHint(QPainter::Antialiasing);
|
||||||
|
|||||||
Reference in New Issue
Block a user