mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
ed32dcc677
Since the Yami QSS changes the default font for widgets, we need to force the system fixed font for plain text edits.
12 lines
196 B
C++
12 lines
196 B
C++
#pragma once
|
|
|
|
#include <QPlainTextEdit>
|
|
|
|
class OBSPlainTextEdit : public QPlainTextEdit {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit OBSPlainTextEdit(QWidget *parent = nullptr,
|
|
bool monospace = true);
|
|
};
|