mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-16 08:34:12 +02:00
2021-08-04 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbconfig(8) that threw a segfault when attempting to create a new database. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
52d58fbe29
commit
a0f87afcef
@ -22164,3 +22164,6 @@
|
||||
2021-08-04 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdlogmanager(1) that threw a SQL error when
|
||||
generating a log.
|
||||
2021-08-04 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rddbconfig(8) that threw a segfault when attempting
|
||||
to create a new database.
|
||||
|
@ -22,8 +22,9 @@
|
||||
|
||||
#include "mysql_login.h"
|
||||
|
||||
MySqlLogin::MySqlLogin(QString *username,QString *password, QWidget *parent)
|
||||
: RDDialog(parent)
|
||||
MySqlLogin::MySqlLogin(QString *username,QString *password,RDConfig *c,
|
||||
QWidget *parent)
|
||||
: RDDialog(c,parent)
|
||||
{
|
||||
login_name=username;
|
||||
login_password=password;
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// mySQL Administrative Login Widget for rddbconfig(8).
|
||||
//
|
||||
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -21,8 +21,8 @@
|
||||
#ifndef MYSQL_LOGIN_H
|
||||
#define MYSQL_LOGIN_H
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <qlineedit.h>
|
||||
#include <QDialog>
|
||||
#include <QLineEdit>
|
||||
|
||||
#include <rddialog.h>
|
||||
|
||||
@ -30,7 +30,8 @@ class MySqlLogin : public RDDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MySqlLogin(QString *username,QString *password, QWidget *parent=0);
|
||||
MySqlLogin(QString *username,QString *password,RDConfig *c,
|
||||
QWidget *parent=0);
|
||||
~MySqlLogin();
|
||||
QSize sizeHint() const;
|
||||
QSizePolicy sizePolicy() const;
|
||||
|
@ -255,7 +255,7 @@ void MainWidget::createData()
|
||||
}
|
||||
}
|
||||
|
||||
mysql_login=new MySqlLogin(&admin_name,&admin_pwd);
|
||||
mysql_login=new MySqlLogin(&admin_name,&admin_pwd,rd_config,this);
|
||||
|
||||
if(mysql_login->exec()) {
|
||||
delete mysql_login;
|
||||
|
Loading…
x
Reference in New Issue
Block a user