mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-27 08:43:01 +01:00
Fix bug
This commit is contained in:
parent
da0f415407
commit
9e222da50c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user