mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10: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_fileName(fileName)
|
||||||
,m_downloading(false)
|
,m_downloading(false)
|
||||||
{
|
{
|
||||||
|
#ifdef Q_WS_WIN
|
||||||
|
ui->progressBar->setStyleSheet("QProgressBar {border: 1px solid;}");
|
||||||
|
#endif
|
||||||
QString fullPath = path+fileName;
|
QString fullPath = path+fileName;
|
||||||
if (QFile::exists(fullPath))
|
if (QFile::exists(fullPath))
|
||||||
QFile::remove(fullPath);
|
QFile::remove(fullPath);
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QProgressBar" name="progressBar">
|
<widget class="QProgressBar" name="progressBar">
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QProgressBar {margin-bottom: 1px; border: 1px;}</string>
|
<string notr="true"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
|
Loading…
Reference in New Issue
Block a user