This commit is contained in:
Jonas Kvinge 2018-03-31 16:22:03 +02:00
parent da0f415407
commit 9e222da50c
1 changed files with 5 additions and 4 deletions

View File

@ -21,6 +21,9 @@
#include <unistd.h>
#include "statusview.h"
#include <QObject>
#include <QApplication>
#include <QFile>
#include <QTextDocument>
@ -33,8 +36,6 @@
#include <QMovie>
#include <QTimeLine>
#include "statusview.h"
#include "core/utilities.h"
#include "core/logging.h"
#include "core/song.h"
@ -197,7 +198,7 @@ void StatusView::NoSongWidget() {
label_stopped_top_->setFixedHeight(40);
label_stopped_top_->setFixedWidth(300);
label_stopped_top_->setAlignment(Qt::AlignTop & Qt::AlignCenter);
label_stopped_top_->setAlignment(Qt::AlignTop|Qt::AlignCenter);
widget_stopped_->setVisible(true);
widget_stopped_->setLayout(layout_stopped_);
@ -231,7 +232,7 @@ void StatusView::SongWidget() {
layout_playing_->addWidget(label_playing_text_);
layout_playing_->addStretch();
label_playing_top_->setAlignment(Qt::AlignTop & Qt::AlignCenter);
label_playing_top_->setAlignment(Qt::AlignTop|Qt::AlignCenter);
label_playing_top_->setFixedHeight(40);
label_playing_top_->setFixedWidth(300);
label_playing_top_->setWordWrap(true);