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

Windows compiling fixes

This commit is contained in:
nowrep 2011-03-04 15:40:45 +01:00
parent 9b232af3ab
commit 544e2f3f2e
4 changed files with 7 additions and 5 deletions

View File

@ -176,7 +176,7 @@ void DownloadManager::handleUnsupportedContent(QNetworkReply *reply)
QPixmap fileIcon = m_iconProvider->icon(tempInfo).pixmap(30,30);
QListWidgetItem* item = new QListWidgetItem(ui->list);
DownloadItem* downItem = new DownloadItem(item, reply, path, fileName, fileIcon);
DownloadItem* downItem = new DownloadItem(item, reply, path, fileName, fileIcon, this);
connect(downItem, SIGNAL(deleteItem(DownloadItem*)), this, SLOT(deleteItem(DownloadItem*)));
ui->list->setItemWidget(item, downItem);
item->setSizeHint(downItem->sizeHint());

View File

@ -40,6 +40,8 @@
#include <QTimer>
#include <QNetworkReply>
#include "ecwin7.h"
namespace Ui {
class DownloadManager;
}

View File

@ -50,7 +50,7 @@ WebSearchBar::WebSearchBar(QupZilla* mainClass, QWidget *parent)
setStyleSheet("QLineEdit { background: transparent; border-image: url(:/icons/locationbar/lineedit.png) ;border-width:4;color:black;}");
setLeftMargin(33);
setLeftMargin(30);
setWidgetSpacing(0);
}

View File

@ -39,7 +39,7 @@ SearchToolBar::SearchToolBar(QupZilla* mainClass, QWidget *parent) :
#ifdef Q_WS_X11
m_closeButton->setIcon(QIcon(style()->standardIcon(QStyle::SP_DialogCloseButton).pixmap(16,16)));
#else
closeButton->setIcon(QIcon(QIcon(":/icons/faenza/close.png").pixmap(16,16)));
m_closeButton->setIcon(QIcon(QIcon(":/icons/faenza/close.png").pixmap(16,16)));
#endif
connect(m_closeButton, SIGNAL(triggered()), this, SLOT(hideBar()));
@ -51,7 +51,7 @@ SearchToolBar::SearchToolBar(QupZilla* mainClass, QWidget *parent) :
#ifdef Q_WS_X11
m_nextButton->setIcon(style()->standardIcon(QStyle::SP_ArrowForward));
#else
nextButton->setIcon(QIcon(":/icons/faenza/forward.png"));
m_nextButton->setIcon(QIcon(":/icons/faenza/forward.png"));
#endif
connect(m_nextButton, SIGNAL(triggered()), this, SLOT(findNext()));
@ -60,7 +60,7 @@ SearchToolBar::SearchToolBar(QupZilla* mainClass, QWidget *parent) :
#ifdef Q_WS_X11
m_previousButton->setIcon(style()->standardIcon(QStyle::SP_ArrowBack));
#else
previousButton->setIcon(QIcon(":/icons/faenza/back.png"));
m_previousButton->setIcon(QIcon(":/icons/faenza/back.png"));
#endif
connect(m_previousButton, SIGNAL(triggered()), this, SLOT(findPrevious()));