diff --git a/KShare.pro b/KShare.pro
index 02c0ae5..3cbef22 100644
--- a/KShare.pro
+++ b/KShare.pro
@@ -50,7 +50,8 @@ SOURCES += main.cpp\
worker/worker.cpp \
screenareaselector/screenareaselector.cpp \
recording/recordingpreview.cpp \
- recording/recordingcontroller.cpp
+ recording/recordingcontroller.cpp \
+ recording/recordingformats.cpp
HEADERS += mainwindow.hpp \
cropeditor/cropeditor.hpp \
@@ -82,7 +83,8 @@ HEADERS += mainwindow.hpp \
worker/worker.hpp \
screenareaselector/screenareaselector.hpp \
recording/recordingpreview.hpp \
- recording/recordingcontroller.hpp
+ recording/recordingcontroller.hpp \
+ recording/recordingformats.hpp
mac {
SOURCES += $$PWD/platformspecifics/mac/macbackend.cpp
diff --git a/hotkeying.cpp b/hotkeying.cpp
index 8bef764..6c25411 100644
--- a/hotkeying.cpp
+++ b/hotkeying.cpp
@@ -37,5 +37,7 @@ bool hotkeying::valid(QString seq) {
}
QString hotkeying::sequence(QString seqName) {
- return hotkeys.contains(seqName) ? hotkeys.value(seqName)->shortcut().toString() : "";
+ return hotkeys.contains(seqName) ?
+ hotkeys.value(seqName)->isRegistered() ? hotkeys.value(seqName)->shortcut().toString() : "" :
+ "";
}
diff --git a/mainwindow.ui b/mainwindow.ui
index 1da644f..515738e 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -7,7 +7,7 @@
0
0
512
- 399
+ 410
@@ -25,6 +25,18 @@
+ -
+
+
+ 0
+
+
-
+
+ Recording disabled
+
+
+
+
-
@@ -63,7 +75,7 @@
- -
+
-
<a href="https://github.com/ArsenArsen/KShare">Source code available free for everyone. Forever.</a>
@@ -92,13 +104,6 @@
- -
-
-
- Pressing <X> hides to tray
-
-
-
-
@@ -112,13 +117,27 @@
-
- -
+
-
Capture cursor
+ -
+
+
+ Pressing <X> hides to tray
+
+
+
+ -
+
+
+ Recording format
+
+
+