1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Fixed building with Qt 4.7

This commit is contained in:
nowrep 2011-08-19 15:57:51 +02:00
parent c62f297349
commit c93dbdaba2
3 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,7 @@
QT += core gui webkit sql network QT += core gui webkit sql network
TARGET = qupzilla TARGET = qupzilla
TEMPLATE = app TEMPLATE = app
VERSION = 0.90.9 VERSION = 1.00.b3
TRANSLATIONS +=cs_CZ.ts\ TRANSLATIONS +=cs_CZ.ts\
sk_SK.ts sk_SK.ts

View File

@ -650,10 +650,12 @@ void WebView::showSource()
p_QupZilla->showSource(); p_QupZilla->showSource();
} }
#if QT_VERSION == 0x040800
void WebView::showSourceOfSelection() void WebView::showSourceOfSelection()
{ {
p_QupZilla->showSource(selectedHtml()); p_QupZilla->showSource(selectedHtml());
} }
#endif
void WebView::downloadLinkToDisk() void WebView::downloadLinkToDisk()
{ {

View File

@ -101,7 +101,9 @@ private slots:
void sendLinkByMail(); void sendLinkByMail();
void bookmarkLink(); void bookmarkLink();
void showSource(); void showSource();
#if QT_VERSION == 0x040800
void showSourceOfSelection(); void showSourceOfSelection();
#endif
void showSiteInfo(); void showSiteInfo();
void getFocus(const QUrl &urla); void getFocus(const QUrl &urla);
void showInspector(); void showInspector();