Skip to content

Commit ca1d3fc

Browse files
normalize SIGNAL(),SLOT() signatures
1 parent b82d23e commit ca1d3fc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

demo/MainWindow.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -671,11 +671,11 @@ CMainWindow::CMainWindow(QWidget *parent) :
671671
d->DockManager = new CDockManager(this);
672672

673673
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
674-
connect(d->PerspectiveComboBox, SIGNAL(activated(const QString&)),
675-
d->DockManager, SLOT(openPerspective(const QString&)));
674+
connect(d->PerspectiveComboBox, SIGNAL(activated(QString)),
675+
d->DockManager, SLOT(openPerspective(QString)));
676676
#else
677-
connect(d->PerspectiveComboBox, SIGNAL(textActivated(const QString&)),
678-
d->DockManager, SLOT(openPerspective(const QString&)));
677+
connect(d->PerspectiveComboBox, SIGNAL(textActivated(QString)),
678+
d->DockManager, SLOT(openPerspective(QString)));
679679
#endif
680680

681681
d->createContent();

src/DockAreaTabBar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ void CDockAreaTabBar::insertTab(int Index, CDockWidgetTab* Tab)
203203
connect(Tab, SIGNAL(clicked()), this, SLOT(onTabClicked()));
204204
connect(Tab, SIGNAL(closeRequested()), this, SLOT(onTabCloseRequested()));
205205
connect(Tab, SIGNAL(closeOtherTabsRequested()), this, SLOT(onCloseOtherTabsRequested()));
206-
connect(Tab, SIGNAL(moved(const QPoint&)), this, SLOT(onTabWidgetMoved(const QPoint&)));
206+
connect(Tab, SIGNAL(moved(QPoint)), this, SLOT(onTabWidgetMoved(QPoint)));
207207
connect(Tab, SIGNAL(elidedChanged(bool)), this, SIGNAL(elidedChanged(bool)));
208208
Tab->installEventFilter(this);
209209
Q_EMIT tabInserted(Index);

0 commit comments

Comments
 (0)