mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 10:16:34 +01:00
[BookmarksImport] Show InternetExplorer only on Windows
This commit is contained in:
parent
c27b10ed4e
commit
6f4e236e6e
@ -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
|
||||
|
@ -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()));
|
||||
|
@ -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();
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user