mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
devil's in the details
This commit is contained in:
parent
ba2bc21489
commit
5cad5fb265
@ -53,13 +53,13 @@ void FilesForm::show(Ui::Widget& ui)
|
|||||||
|
|
||||||
void FilesForm::onFileDownloadComplete(const QString& path)
|
void FilesForm::onFileDownloadComplete(const QString& path)
|
||||||
{
|
{
|
||||||
QListWidgetItem* tmp = new QListWidgetItem(QIcon("ui/acceptFileButton/default.png"), path);
|
QListWidgetItem* tmp = new QListWidgetItem(QIcon(":/ui/acceptFileButton/default.png"), path);
|
||||||
recvd.addItem(tmp);
|
recvd.addItem(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FilesForm::onFileUploadComplete(const QString& path)
|
void FilesForm::onFileUploadComplete(const QString& path)
|
||||||
{
|
{
|
||||||
QListWidgetItem* tmp = new QListWidgetItem(QIcon("ui/acceptFileButton/default.png"), path);
|
QListWidgetItem* tmp = new QListWidgetItem(QIcon(":/ui/acceptFileButton/default.png"), path);
|
||||||
sent.addItem(tmp);
|
sent.addItem(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user