From afbd15c42404581aab476fc1736e961f3b69932e Mon Sep 17 00:00:00 2001 From: Mauro Mura Date: Thu, 24 Oct 2024 15:36:01 +0200 Subject: [PATCH] fixed methods and initialization --- src/gui/nmcgui/nmcfolderwizardsourcepage.cpp | 2 +- src/gui/nmcgui/nmcfolderwizardsourcepage.h | 2 +- src/gui/nmcgui/nmcfolderwizardtargetpage.cpp | 2 +- src/gui/nmcgui/nmcfolderwizardtargetpage.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/nmcgui/nmcfolderwizardsourcepage.cpp b/src/gui/nmcgui/nmcfolderwizardsourcepage.cpp index 3ec1e1a44d3a9..f4148f5aad3de 100644 --- a/src/gui/nmcgui/nmcfolderwizardsourcepage.cpp +++ b/src/gui/nmcgui/nmcfolderwizardsourcepage.cpp @@ -30,7 +30,7 @@ void NMCFolderWizardSourcePage::setDefaultSettings() void NMCFolderWizardSourcePage::changeLayout() { - gridLayout_2->setMargin(0); + gridLayout_2->setContentsMargins(0, 0, 0, 0); QLabel *stepLabel = new QLabel(); stepLabel->setText(QCoreApplication::translate("", "ADD_LIVE_BACKUP_HEADLINE")); diff --git a/src/gui/nmcgui/nmcfolderwizardsourcepage.h b/src/gui/nmcgui/nmcfolderwizardsourcepage.h index 860bd2ce3289a..7ab97fef9bba0 100644 --- a/src/gui/nmcgui/nmcfolderwizardsourcepage.h +++ b/src/gui/nmcgui/nmcfolderwizardsourcepage.h @@ -27,7 +27,7 @@ namespace OCC { -class NMCFolderWizardSourcePage : public ::Ui::FolderWizardSourcePage +class NMCFolderWizardSourcePage : public Ui::FolderWizardSourcePage { public: diff --git a/src/gui/nmcgui/nmcfolderwizardtargetpage.cpp b/src/gui/nmcgui/nmcfolderwizardtargetpage.cpp index 09534344f9035..7ac786e29ab40 100644 --- a/src/gui/nmcgui/nmcfolderwizardtargetpage.cpp +++ b/src/gui/nmcgui/nmcfolderwizardtargetpage.cpp @@ -30,7 +30,7 @@ void NMCFolderWizardTargetPage::setDefaultSettings() void NMCFolderWizardTargetPage::setLayout() { - gridLayout_6->setMargin(0); + gridLayout_6->setContentsMargins(0, 0, 0, 0); QLabel *stepLabel = new QLabel(); stepLabel->setText(QCoreApplication::translate("", "ADD_LIVE_BACKUP_HEADLINE")); diff --git a/src/gui/nmcgui/nmcfolderwizardtargetpage.h b/src/gui/nmcgui/nmcfolderwizardtargetpage.h index 1fd51ca9a8bc7..8512e7f99da85 100644 --- a/src/gui/nmcgui/nmcfolderwizardtargetpage.h +++ b/src/gui/nmcgui/nmcfolderwizardtargetpage.h @@ -27,7 +27,7 @@ namespace OCC { -class NMCFolderWizardTargetPage : public ::Ui::FolderWizardTargetPage +class NMCFolderWizardTargetPage : public Ui::FolderWizardTargetPage { public: