1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +01:00

Added border to progressbar on windows

This commit is contained in:
nowrep 2011-03-17 21:57:46 +01:00
parent 3d2549983b
commit 0494b508af
2 changed files with 4 additions and 1 deletions

View File

@ -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);

View File

@ -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>