Subversion Repositories svn1

Rev

Rev 383 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 383 Rev 384
Line 17... Line 17...
17
***==========================================================================*/
17
***==========================================================================*/
18
 
18
 
19
#include <QtGui>
19
#include <QtGui>
20
#include <QLineEdit>
20
#include <QLineEdit>
21
#include <QLabel>
21
#include <QLabel>
-
 
22
#include <QPushButton>
-
 
23
#include <QProgressDialog>
-
 
24
#include <QMessageBox>
22
#include "qmhttppath.h"
25
#include "qmhttppath.h"
23
#include "qmconfig.h"
26
#include "qmconfig.h"
24
#include "consts.h"
27
#include "consts.h"
25
#include "structs.h"
28
#include "structs.h"
26
#include "proto.h"
29
#include "proto.h"
27
 
30
 
28
#include <QtGui>
-
 
29
#include <QtNetwork>
31
#include <QtNetwork>
30
 
32
 
31
#include "Qmhttppath.h"
33
#include "qmhttppath.h"
32
#include "ui_authenticationdialog.h"
34
#include "ui_authenticationdialog.h"
33
 
35
 
34
/*----------------------------------------------------------------------------
36
/*----------------------------------------------------------------------------
35
** FUNCTION           : Qmhttppath
37
** FUNCTION           : Qmhttppath
36
**
38
**
Line 108... Line 110...
108
    url = urlLineEdit->text();
110
    url = urlLineEdit->text();
109
 
111
 
110
    /*
112
    /*
111
    **  Save Web address for future use
113
    **  Save Web address for future use
112
    */
114
    */
113
    strncpy(config.webUrl, (const char *)(url.toString().toAscii()), sizeof(config.webUrl) );
115
    strncpy_s(config.webUrl, (const char *)(url.toString().toStdString().c_str()), sizeof(config.webUrl) );
114
    config.write_config();
116
    config.write_config();
115
 
117
 
116
    appSettings->setValue("Recent/HtmlUpload", url.toString());
118
    appSettings->setValue("Recent/HtmlUpload", url.toString());
117
 
119
 
118
 
120