Changeset 3357 in ntrip for trunk


Ignore:
Timestamp:
Aug 22, 2011, 4:17:09 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncsslconfig.cpp

    r3350 r3357  
    2525{
    2626
    27   QString dirName =  QDir::homePath() + QDir::separator()
    28                   + ".config" + QDir::separator() + qApp->organizationName();
     27  std::cout << "HAHAHA" << std::endl;
     28
     29  QString dirName =  defaultPath();
    2930
    3031  QList<QSslCertificate> caCerts = this->caCertificates();
     
    5152}
    5253
     54// Destructor
     55////////////////////////////////////////////////////////////////////////////
     56QString bncSslConfig::defaultPath() {
     57  return QDir::homePath() + QDir::separator()
     58         + ".config" + QDir::separator() + qApp->organizationName();
     59}
     60
  • trunk/BNC/bncsslconfig.h

    r3348 r3357  
    1212    return _sslConfig;
    1313  }
     14  static QString defaultPath();
    1415 private:
    1516  bncSslConfig();
  • trunk/BNC/bncwindow.cpp

    r3356 r3357  
    5858#include "bncversion.h"
    5959#include "bncbytescounter.h"
     60#include "bncsslconfig.h"
    6061#include "upload/bnccustomtrafo.h"
    6162#include "upload/bncephuploadcaster.h"
     
    689690  pLayout->addWidget(new QLabel("Path to SSL Certificates"),     5, 0);
    690691  pLayout->addWidget(_sslCaCertPathLineEdit,                     5, 1, 1,10);
     692  pLayout->addWidget(new QLabel("default:  " + bncSslConfig::defaultPath()), 5, 12, 1,20);
    691693  pLayout->addWidget(new QLabel("Ignore SSL Authorization Errors"), 6,0);
    692694  pLayout->addWidget(_ignoreSslErrorsCheckBox,                     6, 1, 1,10);
Note: See TracChangeset for help on using the changeset viewer.