File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -747,7 +747,7 @@ void ClipboardServer::loadSettings(AppConfig *appConfig)
747747 m_saveOnDeactivate = appConfig->option <Config::save_on_app_deactivated>();
748748
749749 if ( platformNativeInterface ()->canPreventScreenCapture () )
750- setPreventScreenCapture (appConfig->option <Config::prevent_screen_cature >());
750+ setPreventScreenCapture (appConfig->option <Config::prevent_screen_capture >());
751751
752752 if (m_monitor) {
753753 stopMonitoring ();
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ struct autostart : Config<bool> {
2828 static Value defaultValue ();
2929};
3030
31- struct prevent_screen_cature : Config<bool > {
32- static QString name () { return QStringLiteral (" prevent_screen_cature " ); }
31+ struct prevent_screen_capture : Config<bool > {
32+ static QString name () { return QStringLiteral (" prevent_screen_capture " ); }
3333 static Value defaultValue () { return true ; }
3434};
3535
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ void ConfigurationManager::initOptions()
236236{
237237 /* general options */
238238 bind<Config::autostart>(m_tabGeneral->checkBoxAutostart );
239- bind<Config::prevent_screen_cature >(m_tabGeneral->checkBoxPreventScreenCapture );
239+ bind<Config::prevent_screen_capture >(m_tabGeneral->checkBoxPreventScreenCapture );
240240 bind<Config::clipboard_tab>(m_tabHistory->comboBoxClipboardTab ->lineEdit ());
241241 bind<Config::maxitems>(m_tabHistory->spinBoxItems );
242242 bind<Config::expire_tab>(m_tabHistory->spinBoxExpireTab );
Original file line number Diff line number Diff line change @@ -42,16 +42,16 @@ screenshot() {
4242 " $Executable " screenshot > " $file "
4343}
4444
45- prevent_screen_cature =$( " $Executable " config prevent_screen_cature )
46- if [[ $prevent_screen_cature != " true" ]]; then
47- echo " ERROR: Option 'prevent_screen_cature ' must be true by default"
45+ prevent_screen_capture =$( " $Executable " config prevent_screen_capture )
46+ if [[ $prevent_screen_capture != " true" ]]; then
47+ echo " ERROR: Option 'prevent_screen_capture ' must be true by default"
4848 exit 1
4949fi
5050
5151" $Executable " menu
5252
5353screenshot " App - Preventing screenshots"
54- " $Executable " config prevent_screen_cature false
54+ " $Executable " config prevent_screen_capture false
5555
5656screenshot " App and menu"
5757" $Executable " $keys " focus:TrayMenu" " ESCAPE" " focus:ClipboardBrowser"
You can’t perform that action at this time.
0 commit comments