diff --git a/src/plugins/GreaseMonkey/gm_plugin.cpp b/src/plugins/GreaseMonkey/gm_plugin.cpp index 9ee6160c9..e27029d44 100644 --- a/src/plugins/GreaseMonkey/gm_plugin.cpp +++ b/src/plugins/GreaseMonkey/gm_plugin.cpp @@ -41,7 +41,7 @@ PluginSpec GM_Plugin::pluginSpec() spec.name = "GreaseMonkey"; spec.info = "Userscripts for QupZilla"; spec.description = "Provides support for userscripts (www.userscripts.org)"; - spec.version = "0.4.5"; + spec.version = "0.4.6"; spec.author = "David Rosca "; spec.icon = QPixmap(":gm/data/icon.png"); spec.hasSettings = true; diff --git a/src/plugins/GreaseMonkey/settings/gm_settings.cpp b/src/plugins/GreaseMonkey/settings/gm_settings.cpp index c30f3c71b..cd03f839c 100644 --- a/src/plugins/GreaseMonkey/settings/gm_settings.cpp +++ b/src/plugins/GreaseMonkey/settings/gm_settings.cpp @@ -41,16 +41,16 @@ GM_Settings::GM_Settings(GM_Manager* manager, QWidget* parent) connect(ui->openDirectory, SIGNAL(clicked()), this, SLOT(openScriptsDirectory())); connect(ui->link, SIGNAL(clicked(QPoint)), - this, SLOT(openUserscripts())); + this, SLOT(openUserJs())); connect(manager, SIGNAL(scriptsChanged()), this, SLOT(loadScripts())); loadScripts(); } -void GM_Settings::openUserscripts() +void GM_Settings::openUserJs() { - mApp->addNewTab(QUrl("http://www.userscripts.org")); + mApp->addNewTab(QUrl(QSL("http://openuserjs.org"))); close(); } diff --git a/src/plugins/GreaseMonkey/settings/gm_settings.h b/src/plugins/GreaseMonkey/settings/gm_settings.h index 7e378b259..30903bc4f 100644 --- a/src/plugins/GreaseMonkey/settings/gm_settings.h +++ b/src/plugins/GreaseMonkey/settings/gm_settings.h @@ -45,7 +45,7 @@ private slots: void itemChanged(QListWidgetItem* item); void openScriptsDirectory(); - void openUserscripts(); + void openUserJs(); void loadScripts(); diff --git a/src/plugins/GreaseMonkey/settings/gm_settings.ui b/src/plugins/GreaseMonkey/settings/gm_settings.ui index 9d99f1bdf..5c42ce276 100644 --- a/src/plugins/GreaseMonkey/settings/gm_settings.ui +++ b/src/plugins/GreaseMonkey/settings/gm_settings.ui @@ -160,7 +160,7 @@ PointingHandCursor - userscripts.org + openuserjs.org true