cppcheck stuff (#1200)
* cppcheck stuff * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * Fix linting Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
This commit is contained in:
parent
5e9eb845ab
commit
8ecbb39dc6
33 changed files with 162 additions and 146 deletions
|
|
@ -246,8 +246,8 @@ TimelineViewManager::escapeEmoji(QString str) const
|
|||
|
||||
void
|
||||
TimelineViewManager::openImageOverlay(TimelineModel *room,
|
||||
QString mxcUrl,
|
||||
QString eventId,
|
||||
const QString &mxcUrl,
|
||||
const QString &eventId,
|
||||
double originalWidth,
|
||||
double proportionalHeight)
|
||||
{
|
||||
|
|
@ -384,7 +384,7 @@ TimelineViewManager::focusMessageInput()
|
|||
}
|
||||
|
||||
QObject *
|
||||
TimelineViewManager::completerFor(QString completerName, QString roomId)
|
||||
TimelineViewManager::completerFor(const QString &completerName, const QString &roomId)
|
||||
{
|
||||
if (completerName == QLatin1String("user")) {
|
||||
auto userModel = new UsersModel(roomId.toStdString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue