Commit 2f9683ee authored by Rafał Malinowski's avatar Rafał Malinowski

coverity: fixes

Signed-off-by: Rafał Malinowski's avatarRafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
parent 8350fe22
......@@ -58,7 +58,15 @@
*/
AutoAway::AutoAway() :
StatusChanged(false)
autoAwayStatusChanger{},
timer{},
StatusChanged{false},
autoAwaySpinBox{},
autoExtendedAwaySpinBox{},
autoInvisibleSpinBox{},
autoOfflineSpinBox{},
autoRefreshSpinBox{},
descriptionTextLineEdit{}
{
autoAwayStatusChanger = new AutoAwayStatusChanger(this, this);
......
......@@ -51,7 +51,9 @@ void CenzorConfigurationUiHandler::unregisterConfigurationUi()
}
}
CenzorConfigurationUiHandler::CenzorConfigurationUiHandler()
CenzorConfigurationUiHandler::CenzorConfigurationUiHandler() :
SwearwordsWidget{},
ExclusionsWidget{}
{
}
......
......@@ -40,8 +40,8 @@ void EncryptionManager::createInstance()
{
if (!m_instance)
{
new EncryptionManager();
m_instance->setChatWidgetRepository(Core::instance()->chatWidgetRepository());
auto manager = new EncryptionManager();
manager->setChatWidgetRepository(Core::instance()->chatWidgetRepository());
}
}
......
......@@ -48,7 +48,19 @@
#include "hints-configuration-ui-handler.h"
HintsConfigurationUiHandler::HintsConfigurationUiHandler(const QString &style, QObject *parent):
ConfigurationUiHandler(parent)
ConfigurationUiHandler(parent),
previewHintsFrame{},
previewHintsLayout{},
minimumWidth{},
maximumWidth{},
xPosition{},
yPosition{},
ownPosition{},
ownPositionCorner{},
newHintUnder{},
overUserConfigurationPreview{},
overUserConfigurationTipLabel{},
configureOverUserHint{}
{
#ifdef Q_OS_MAC
previewHintsFrame = new QFrame(qobject_cast<QWidget *>(parent), Qt::FramelessWindowHint | Qt::SplashScreen | Qt::X11BypassWindowManagerHint | Qt::WindowStaysOnTopHint |Qt::MSWindowsOwnDC);
......
......@@ -45,7 +45,7 @@
#include "history-importer.h"
HistoryImporter::HistoryImporter(const Account &account, const QString &path, QObject *parent) :
QObject(parent), DestinationAccount(account), SourceDirectory(path), Thread(0), ProgressWindow(0)
QObject(parent), DestinationAccount(account), SourceDirectory(path), Thread(0), HistoryImport(0), ProgressWindow(0)
{
kdebugf();
}
......
......@@ -39,7 +39,8 @@
#include "infos_dialog.h"
Infos::Infos(QObject *parent) :
QObject(parent)
QObject{parent},
menuID{}
{
kdebugf();
......
......@@ -48,7 +48,8 @@
*/
Qt4Notify::Qt4Notify(QObject *parent) :
Notifier("Tray Icon Balloon", QT_TRANSLATE_NOOP("@default", "Tray Icon Balloon"), KaduIcon("external_modules/qt4notify"), parent)
Notifier("Tray Icon Balloon", QT_TRANSLATE_NOOP("@default", "Tray Icon Balloon"), KaduIcon("external_modules/qt4notify"), parent),
configurationWidget{}
{
kdebugf();
......
......@@ -65,7 +65,10 @@ SoundConfigurationUiHandler * SoundConfigurationUiHandler::instance()
}
SoundConfigurationUiHandler::SoundConfigurationUiHandler(QObject *parent) :
ConfigurationUiHandler(), ConfigurationWidget(0), ThemesComboBox(0)
ConfigurationUiHandler{},
ConfigurationWidget{},
ThemesComboBox{},
ThemesPaths{}
{
Q_UNUSED(parent)
}
......
......@@ -58,7 +58,15 @@ void SpeechConfigurationUiHandler::unregisterUiHandler()
}
}
SpeechConfigurationUiHandler::SpeechConfigurationUiHandler()
SpeechConfigurationUiHandler::SpeechConfigurationUiHandler() :
frequencySlider{},
tempoSlider{},
baseFrequencySlider{},
dspDeviceLineEdit{},
klattSyntCheckBox{},
melodyCheckBox{},
programSelectFile{},
soundSystemComboBox{}
{
}
......@@ -92,6 +100,9 @@ void SpeechConfigurationUiHandler::testSpeech()
{
kdebugf();
if (!programSelectFile)
return;
QString program = programSelectFile->file();
// TODO: mo�e u�ywa� jakiego� normalnego tekstu ?
QString formatM = config_file.readEntry("Speech", "NewChat_Syntax/Male");
......
......@@ -53,7 +53,13 @@
WordFix::WordFix(QObject *parent) :
ConfigurationUiHandler(parent)
ConfigurationUiHandler(parent),
changeButton{},
deleteButton{},
addButton{},
wordEdit{},
valueEdit{},
list{}
{
kdebugf();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment