Browse Source

*tweaks, omg. The vagaries of version control...

pull/126/head
dubslow 11 years ago
parent
commit
ba2bc21489
  1. 1
      res.qrc
  2. 4
      widget/form/filesform.cpp

1
res.qrc

@ -26,7 +26,6 @@
<file>img/add.png</file> <file>img/add.png</file>
<file>img/settings.png</file> <file>img/settings.png</file>
<file>img/transfer.png</file> <file>img/transfer.png</file>
<file>img/checkmark.png</file>
<file>ui/acceptFileButton/default.png</file> <file>ui/acceptFileButton/default.png</file>
<file>ui/acceptFileButton/hover.png</file> <file>ui/acceptFileButton/hover.png</file>
<file>ui/acceptFileButton/pressed.png</file> <file>ui/acceptFileButton/pressed.png</file>

4
widget/form/filesform.cpp

@ -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(":/img/checkmark.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(":/img/checkmark.png"), path); QListWidgetItem* tmp = new QListWidgetItem(QIcon("ui/acceptFileButton/default.png"), path);
sent.addItem(tmp); sent.addItem(tmp);
} }

Loading…
Cancel
Save