Commit 930f27d6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: coding style

parent 6508ca9e
Pipeline #45313 passed with stage
in 9 minutes and 11 seconds
......@@ -28,7 +28,6 @@ QTEST_MAIN(GroupManagementWidgetTest)
GroupManagementWidgetTest::GroupManagementWidgetTest(QObject *parent)
: QObject(parent)
{
}
void GroupManagementWidgetTest::shouldHaveDefaultValues()
......
......@@ -47,7 +47,6 @@ GroupManagementWidget::GroupManagementWidget(QWidget *parent)
GroupManagementWidget::~GroupManagementWidget()
{
}
void GroupManagementWidget::slotCustomContextMenu()
......@@ -63,7 +62,7 @@ void GroupManagementWidget::slotCustomContextMenu()
const QString newName = QInputDialog::getText(this, i18n("Rename Group"), i18n("New Name:"));
const QString newNameTrimmed = newName.trimmed();
if (!newNameTrimmed.isEmpty()) {
const QString newFullPath{LoadGroupMenu::defaultWritableGroupPath() + QLatin1Char('/') + newNameTrimmed};
const QString newFullPath {LoadGroupMenu::defaultWritableGroupPath() + QLatin1Char('/') + newNameTrimmed};
if (!f.rename(newFullPath)) {
KMessageBox::error(this, i18n("Impossible to rename group as \'%1\'", newNameTrimmed), i18n("Rename Group"));
} else {
......
......@@ -53,4 +53,3 @@ QStringList LoadToolButton::groupNames() const
{
return mLoadMenu->groupNames();
}
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