- Timestamp:
- Aug 22, 2011, 4:17:09 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncsslconfig.cpp
r3350 r3357 25 25 { 26 26 27 QString dirName = QDir::homePath() + QDir::separator() 28 + ".config" + QDir::separator() + qApp->organizationName(); 27 std::cout << "HAHAHA" << std::endl; 28 29 QString dirName = defaultPath(); 29 30 30 31 QList<QSslCertificate> caCerts = this->caCertificates(); … … 51 52 } 52 53 54 // Destructor 55 //////////////////////////////////////////////////////////////////////////// 56 QString bncSslConfig::defaultPath() { 57 return QDir::homePath() + QDir::separator() 58 + ".config" + QDir::separator() + qApp->organizationName(); 59 } 60 -
trunk/BNC/bncsslconfig.h
r3348 r3357 12 12 return _sslConfig; 13 13 } 14 static QString defaultPath(); 14 15 private: 15 16 bncSslConfig(); -
trunk/BNC/bncwindow.cpp
r3356 r3357 58 58 #include "bncversion.h" 59 59 #include "bncbytescounter.h" 60 #include "bncsslconfig.h" 60 61 #include "upload/bnccustomtrafo.h" 61 62 #include "upload/bncephuploadcaster.h" … … 689 690 pLayout->addWidget(new QLabel("Path to SSL Certificates"), 5, 0); 690 691 pLayout->addWidget(_sslCaCertPathLineEdit, 5, 1, 1,10); 692 pLayout->addWidget(new QLabel("default: " + bncSslConfig::defaultPath()), 5, 12, 1,20); 691 693 pLayout->addWidget(new QLabel("Ignore SSL Authorization Errors"), 6,0); 692 694 pLayout->addWidget(_ignoreSslErrorsCheckBox, 6, 1, 1,10);
Note:
See TracChangeset
for help on using the changeset viewer.