Added border to progressbar on windows

remotes/origin/falkon
nowrep 15 years ago
parent 3d2549983b
commit 0494b508af
  1. 3
      src/downloads/downloaditem.cpp
  2. 2
      src/downloads/downloaditem.ui

@ -27,6 +27,9 @@ DownloadItem::DownloadItem(QListWidgetItem* item, QNetworkReply* reply, QString
,m_fileName(fileName)
,m_downloading(false)
{
#ifdef Q_WS_WIN
ui->progressBar->setStyleSheet("QProgressBar {border: 1px solid;}");
#endif
QString fullPath = path+fileName;
if (QFile::exists(fullPath))
QFile::remove(fullPath);

@ -68,7 +68,7 @@
<item>
<widget class="QProgressBar" name="progressBar">
<property name="styleSheet">
<string notr="true">QProgressBar {margin-bottom: 1px; border: 1px;}</string>
<string notr="true"/>
</property>
<property name="maximum">
<number>0</number>

Loading…
Cancel
Save