|
@@ -43,11 +43,6 @@ public:
|
|
|
original(original),
|
|
|
settings(settings)
|
|
|
{
|
|
|
-#ifdef __APPLE__
|
|
|
- // disable the input cursor on OSX, focus should be clear
|
|
|
- // enough with the default focus frame
|
|
|
- setReadOnly(true);
|
|
|
-#endif
|
|
|
setAttribute(Qt::WA_InputMethodEnabled, false);
|
|
|
setAttribute(Qt::WA_MacShowFocusRect, true);
|
|
|
InitSignalHandler();
|
|
@@ -55,11 +50,6 @@ public:
|
|
|
}
|
|
|
OBSHotkeyEdit(QWidget *parent = nullptr) : QLineEdit(parent), original({}), settings(nullptr)
|
|
|
{
|
|
|
-#ifdef __APPLE__
|
|
|
- // disable the input cursor on OSX, focus should be clear
|
|
|
- // enough with the default focus frame
|
|
|
- setReadOnly(true);
|
|
|
-#endif
|
|
|
setAttribute(Qt::WA_InputMethodEnabled, false);
|
|
|
setAttribute(Qt::WA_MacShowFocusRect, true);
|
|
|
InitSignalHandler();
|