mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Use QSharedPointer::data to be compatible with Qt < 5.11
This commit is contained in:
parent
6f07ab433e
commit
e7f30b57e8
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> userSettings, QWidget *parent)
|
|||
|
||||
auto bin = dev->peek(dev->size());
|
||||
auto payload = std::string(bin.data(), bin.size());
|
||||
auto dimensions = QImageReader(dev.get()).size();
|
||||
auto dimensions = QImageReader(dev.data()).size();
|
||||
|
||||
http::v2::client()->upload(
|
||||
payload,
|
||||
|
|
Loading…
Reference in a new issue