mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-07 16:34:55 -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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user