Mac-specific: Check Accessibility API at start with auto scan popup (issue #129)

This commit is contained in:
Abs62 2013-04-12 18:30:24 +04:00
parent ce4a212155
commit ace29d367f

View file

@ -728,6 +728,12 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
updateStatusLine();
#ifdef Q_OS_MACX
if( cfg.preferences.startWithScanPopupOn && !AXAPIEnabled() )
mainStatusBar->showMessage( tr( "Accessibility API is not enabled" ), 10000,
QPixmap( ":/icons/error.png" ) );
#endif
wasMaximized = isMaximized();
history.setSaveInterval( cfg.preferences.historyStoreInterval );