mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-11-04 23:03:42 +00:00
clang-tidy warning fixes
This commit is contained in:
@ -76,7 +76,7 @@ AWKeys::~AWKeys()
|
||||
|
||||
m_timer->stop();
|
||||
// delete dbus session
|
||||
qlonglong id = reinterpret_cast<qlonglong>(this);
|
||||
auto id = reinterpret_cast<qlonglong>(this);
|
||||
QDBusConnection::sessionBus().unregisterObject(QString("/%1").arg(id));
|
||||
}
|
||||
|
||||
@ -305,7 +305,7 @@ void AWKeys::calculateValues()
|
||||
void AWKeys::createDBusInterface()
|
||||
{
|
||||
// get this object id
|
||||
qlonglong id = reinterpret_cast<qlonglong>(this);
|
||||
auto id = reinterpret_cast<qlonglong>(this);
|
||||
|
||||
// create session
|
||||
QDBusConnection instanceBus = QDBusConnection::sessionBus();
|
||||
|
||||
Reference in New Issue
Block a user