Commit 60b5e7e6 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Remove extra semi colons

parent 8fdc52e1
......@@ -156,8 +156,8 @@ QList<QSharedPointer<HotSpot>> FilterChain::filterBy(HotSpot::Type type) const
void FilterChain::leaveEvent(TerminalDisplay *td, QEvent *ev)
{
Q_UNUSED(td);
Q_UNUSED(ev);
Q_UNUSED(td)
Q_UNUSED(ev)
_showUrlHint = false;
}
......
......@@ -116,8 +116,8 @@ QPair<QRegion, QRect> HotSpot::region(int fontWidth, int fontHeight, int columns
void HotSpot::mouseMoveEvent(TerminalDisplay *td, QMouseEvent *ev)
{
Q_UNUSED(td);
Q_UNUSED(ev);
Q_UNUSED(td)
Q_UNUSED(ev)
}
bool HotSpot::isUrl()
......@@ -142,7 +142,7 @@ void HotSpot::mouseEnterEvent(TerminalDisplay *td, QMouseEvent *ev)
void HotSpot::mouseLeaveEvent(TerminalDisplay *td, QMouseEvent *ev)
{
Q_UNUSED(ev);
Q_UNUSED(ev)
if (!isUrl()) {
return;
......@@ -180,7 +180,7 @@ void HotSpot::keyPressEvent(TerminalDisplay* td, QKeyEvent *ev)
void HotSpot::keyReleaseEvent(TerminalDisplay *td, QKeyEvent *ev)
{
Q_UNUSED(ev);
Q_UNUSED(ev)
if (!isUrl()) {
return;
......
......@@ -27,7 +27,7 @@ ProfileModel::ProfileModel()
}
int ProfileModel::rowCount(const QModelIndex &unused) const
{
Q_UNUSED(unused);
Q_UNUSED(unused)
// All profiles plus the default profile that's always at index 0 on
return m_profiles.count();
......@@ -35,7 +35,7 @@ int ProfileModel::rowCount(const QModelIndex &unused) const
int ProfileModel::columnCount(const QModelIndex& unused) const
{
Q_UNUSED(unused);
Q_UNUSED(unused)
return COLUMNS;
}
......@@ -154,20 +154,20 @@ void ProfileModel::populate()
void ProfileModel::add(QExplicitlySharedDataPointer<Profile> profile)
{
// The model is too small for this to matter.
Q_UNUSED(profile);
Q_UNUSED(profile)
populate();
}
void ProfileModel::remove(QExplicitlySharedDataPointer<Profile> profile)
{
// The model is too small for this to matter.
Q_UNUSED(profile);
Q_UNUSED(profile)
populate();
}
void ProfileModel::setDefault(QExplicitlySharedDataPointer<Profile> profile)
{
Q_UNUSED(profile);
Q_UNUSED(profile)
emit dataChanged(index(0, 0), index(0, COLUMNS-1), {Qt::DisplayRole});
}
......
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