1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[BookmarksImport] Show InternetExplorer only on Windows

This commit is contained in:
nowrep 2013-12-30 11:31:19 +01:00
parent c27b10ed4e
commit 6f4e236e6e
4 changed files with 15 additions and 10 deletions

View File

@ -11,6 +11,7 @@ Version 1.5.0
* added StatusBar Icons plugin that adds extra icons to statusbar
* added support for POST method in search engines manager
* added context menu for translating webpage
* added possibility to export bookmarks to html file
* great performance improvement for matching basic rules in AdBlock
* themes can now be loaded from profile directories
* pagescreen can now save output into number of formats, including PDF

View File

@ -45,6 +45,10 @@ BookmarksImportDialog::BookmarksImportDialog(QWidget* parent)
ui->browserList->setCurrentRow(0);
#ifndef Q_OS_WIN
ui->browserList->setItemHidden(ui->browserList->item(IE), true);
#endif
connect(ui->nextButton, SIGNAL(clicked()), this, SLOT(nextPage()));
connect(ui->chooseFile, SIGNAL(clicked()), this, SLOT(setFile()));
connect(ui->cancelButton, SIGNAL(clicked()), this, SLOT(close()));

View File

@ -51,7 +51,7 @@ private slots:
void loadFinished();
private:
enum Browser { Firefox = 0, Chrome = 1, Opera = 2, Html = 3, IE = 4};
enum Browser { Firefox = 0, Chrome = 1, Opera = 2, IE = 3, Html = 4};
void setupBrowser(Browser browser);
bool exportedOK();

View File

@ -69,15 +69,6 @@
<normaloff>:/icons/browsers/opera.png</normaloff>:/icons/browsers/opera.png</iconset>
</property>
</item>
<item>
<property name="text">
<string>From File</string>
</property>
<property name="icon">
<iconset resource="../data/icons.qrc">
<normaloff>:/icons/browsers/html.png</normaloff>:/icons/browsers/html.png</iconset>
</property>
</item>
<item>
<property name="text">
<string>Internet Explorer</string>
@ -87,6 +78,15 @@
<normaloff>:/icons/browsers/internet-explorer.png</normaloff>:/icons/browsers/internet-explorer.png</iconset>
</property>
</item>
<item>
<property name="text">
<string>From File</string>
</property>
<property name="icon">
<iconset resource="../data/icons.qrc">
<normaloff>:/icons/browsers/html.png</normaloff>:/icons/browsers/html.png</iconset>
</property>
</item>
</widget>
</item>
<item row="0" column="0" colspan="3">