Commit b0f6a07c authored by Laurent Montel's avatar Laurent Montel 😁

Don't use const'ref for int element

parent 5fad746a
......@@ -204,7 +204,7 @@ void KonqClosedWindowsManager::emitNotifyRemove(
}
void KonqClosedWindowsManager::slotNotifyClosedWindowItem(
const QString &title, const int &numTabs, const QString &configFileName,
const QString &title, int numTabs, const QString &configFileName,
const QString &configGroup, const QString &service)
{
if (isSenderOfSignal(service)) {
......@@ -223,7 +223,7 @@ void KonqClosedWindowsManager::slotNotifyClosedWindowItem(
}
void KonqClosedWindowsManager::slotNotifyClosedWindowItem(
const QString &title, const int &numTabs, const QString &configFileName,
const QString &title, int numTabs, const QString &configFileName,
const QString &configGroup, const QDBusMessage &msg)
{
slotNotifyClosedWindowItem(title, numTabs, configFileName, configGroup,
......
......@@ -146,11 +146,11 @@ Q_SIGNALS: // DBUS signals
const QString &configGroup);
private Q_SLOTS:// connected to DBUS signals
void slotNotifyClosedWindowItem(const QString &title, const int &numTabs,
void slotNotifyClosedWindowItem(const QString &title, int numTabs,
const QString &configFileName, const QString &configGroup,
const QString &service);
void slotNotifyClosedWindowItem(const QString &title, const int &numTabs,
void slotNotifyClosedWindowItem(const QString &title, int numTabs,
const QString &configFileName, const QString &configGroup,
const QDBusMessage &msg);
......
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