kde-workspace/kcontrol/krdb/krdb.cpp

19 lines
527 B
C++
Raw Normal View History

2014-11-13 19:30:51 +02:00
/****************************************************************************
**
** Copyright (C) 2023 by Ivailo Monev <xakepa10@gmail.com>
2014-11-13 19:30:51 +02:00
** This application is freely distributable under the GNU Public License.
**
*****************************************************************************/
#include <QProcess>
2014-11-13 19:30:51 +02:00
#include <kdebug.h>
void runRdb()
2014-11-13 19:30:51 +02:00
{
const int krdbstatus = QProcess::execute(QString::fromLatin1("krdb"));
if (krdbstatus != 0) {
kWarning() << "krdb exited abnormally" << krdbstatus;
}
2014-11-13 19:30:51 +02:00
}