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:
parent
3d2549983b
commit
0494b508af
@ -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…
Reference in New Issue
Block a user