mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 04:50:34 -04:00 
			
		
		
		
	Menu action to open the log directory
Since the log files have moved to a hidden directory a menu action to open the logs directory in a suitable system applicaiton is needed. Added "Open log directory" to File manu bar pop up menu. Merged from wsjtx-1.4 branch. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4471 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									42302834f2
								
							
						
					
					
						commit
						c40cec50de
					
				| @ -9,6 +9,9 @@ | ||||
| #include <QLineEdit> | ||||
| #include <QRegExpValidator> | ||||
| #include <QRegExp> | ||||
| #include <QDesktopServices> | ||||
| #include <QUrl> | ||||
| #include <QDir> | ||||
| #include <QDebug> | ||||
| #include <QtConcurrent/QtConcurrentRun> | ||||
| 
 | ||||
| @ -2496,6 +2499,11 @@ void MainWindow::on_actionErase_wsjtx_log_adi_triggered() | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| void MainWindow::on_actionOpen_log_directory_triggered () | ||||
| { | ||||
|   QDesktopServices::openUrl (QUrl::fromLocalFile (m_config.data_path ().absolutePath ())); | ||||
| } | ||||
| 
 | ||||
| bool MainWindow::gridOK(QString g) | ||||
| { | ||||
|   bool b=g.mid(0,1).compare("A")>=0 and | ||||
|  | ||||
| @ -103,6 +103,7 @@ private slots: | ||||
|   void on_actionOpen_next_in_directory_triggered(); | ||||
|   void on_actionDecode_remaining_files_in_directory_triggered(); | ||||
|   void on_actionDelete_all_wav_files_in_SaveDir_triggered(); | ||||
|   void on_actionOpen_log_directory_triggered (); | ||||
|   void on_actionNone_triggered(); | ||||
|   void on_actionSave_all_triggered(); | ||||
|   void on_actionKeyboard_shortcuts_triggered(); | ||||
|  | ||||
| @ -2294,6 +2294,7 @@ list. The list can be maintained in Settings (F2).</string> | ||||
|     <addaction name="actionDelete_all_wav_files_in_SaveDir"/> | ||||
|     <addaction name="actionErase_ALL_TXT"/> | ||||
|     <addaction name="actionErase_wsjtx_log_adi"/> | ||||
|     <addaction name="actionOpen_log_directory"/> | ||||
|     <addaction name="separator"/> | ||||
|     <addaction name="actionSettings"/> | ||||
|     <addaction name="separator"/> | ||||
| @ -2692,6 +2693,11 @@ list. The list can be maintained in Settings (F2).</string> | ||||
|     <string>Local User Guide</string> | ||||
|    </property> | ||||
|   </action> | ||||
|   <action name="actionOpen_log_directory"> | ||||
|    <property name="text"> | ||||
|     <string>Open log directory</string> | ||||
|    </property> | ||||
|   </action> | ||||
|  </widget> | ||||
|  <layoutdefault spacing="6" margin="11"/> | ||||
|  <customwidgets> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user