Remove recording button
Remove the recording button that was added to the sample clip view with
commit 48c4dce96f.
This commit simply reverts the aforementioned one.
This commit is contained in:
@@ -81,8 +81,6 @@ public:
|
||||
void setIsPlaying(bool isPlaying);
|
||||
void setSampleBuffer(std::shared_ptr<const SampleBuffer> sb);
|
||||
|
||||
BoolModel& recordModel() { return m_recordModel; }
|
||||
|
||||
public slots:
|
||||
void setSampleFile(const QString& sf);
|
||||
void updateLength();
|
||||
|
||||
@@ -27,13 +27,10 @@
|
||||
|
||||
#include "ClipView.h"
|
||||
|
||||
class QWidget;
|
||||
|
||||
namespace lmms
|
||||
{
|
||||
|
||||
class SampleClip;
|
||||
class BoolModel;
|
||||
|
||||
namespace gui
|
||||
{
|
||||
@@ -62,19 +59,13 @@ protected:
|
||||
void dropEvent( QDropEvent * _de ) override;
|
||||
void mouseDoubleClickEvent( QMouseEvent * ) override;
|
||||
void paintEvent( QPaintEvent * ) override;
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
|
||||
private:
|
||||
QWidget* buildRecordWidget(BoolModel& recordModel);
|
||||
void adjustRecordWidget();
|
||||
bool recordingCapabilitiesAvailable() const;
|
||||
|
||||
private:
|
||||
SampleClip * m_clip;
|
||||
QPixmap m_paintPixmap;
|
||||
bool splitClip( const TimePos pos ) override;
|
||||
|
||||
QWidget* m_recordWidget;
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user