Modernize: Remove 'this->'

Summary:
This is not userfully, only adds more code and
the code is happy without it.

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D12965
This commit is contained in:
Tomaz Canabrava
2018-05-22 19:57:27 -04:00
committed by Kurt Hindenburg
parent 581df2a23a
commit 58a9311bcb
6 changed files with 34 additions and 34 deletions

View File

@@ -1102,7 +1102,7 @@ void ViewManager::restoreSessions(const KConfigGroup &group)
int ViewManager::sessionCount()
{
return this->_sessionMap.size();
return _sessionMap.size();
}
QStringList ViewManager::sessionList()
@@ -1148,7 +1148,7 @@ int ViewManager::newSession()
session->addEnvironmentEntry(QStringLiteral("KONSOLE_DBUS_WINDOW=/Windows/%1").arg(managerId()));
this->createView(session);
createView(session);
session->run();
return session->sessionId();
@@ -1170,7 +1170,7 @@ int ViewManager::newSession(const QString &profile)
session->addEnvironmentEntry(QStringLiteral("KONSOLE_DBUS_WINDOW=/Windows/%1").arg(managerId()));
this->createView(session);
createView(session);
session->run();
return session->sessionId();
@@ -1193,7 +1193,7 @@ int ViewManager::newSession(const QString &profile, const QString &directory)
session->addEnvironmentEntry(QStringLiteral("KONSOLE_DBUS_WINDOW=/Windows/%1").arg(managerId()));
this->createView(session);
createView(session);
session->run();
return session->sessionId();
@@ -1211,22 +1211,22 @@ QStringList ViewManager::profileList()
void ViewManager::nextSession()
{
this->nextView();
nextView();
}
void ViewManager::prevSession()
{
this->previousView();
previousView();
}
void ViewManager::moveSessionLeft()
{
this->moveActiveViewLeft();
moveActiveViewLeft();
}
void ViewManager::moveSessionRight()
{
this->moveActiveViewRight();
moveActiveViewRight();
}
void ViewManager::setTabWidthToText(bool useTextWidth)