mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 12:26:58 +03:00
implement desktop shortcut creation. windows code not tested.
This commit is contained in:
parent
c755195b97
commit
369b1c55c9
6 changed files with 152 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ void BrowserDialog::on_btnForward_clicked()
|
|||
void BrowserDialog::on_webView_urlChanged(const QUrl &url)
|
||||
{
|
||||
Q_UNUSED(url);
|
||||
qDebug("urlChanged");
|
||||
//qDebug("urlChanged");
|
||||
ui->btnBack->setEnabled(ui->webView->history()->canGoBack());
|
||||
ui->btnForward->setEnabled(ui->webView->history()->canGoForward());
|
||||
}
|
||||
|
|
@ -42,7 +42,7 @@ void BrowserDialog::on_webView_urlChanged(const QUrl &url)
|
|||
// Window Title Magic
|
||||
void BrowserDialog::refreshWindowTitle()
|
||||
{
|
||||
qDebug("refreshTitle");
|
||||
//qDebug("refreshTitle");
|
||||
if (m_pageTitleInWindowTitle)
|
||||
setWindowTitle(m_windowTitleFormat.arg(ui->webView->title()));
|
||||
else
|
||||
|
|
@ -63,7 +63,7 @@ void BrowserDialog::setWindowTitleFormat(QString format)
|
|||
|
||||
void BrowserDialog::on_webView_titleChanged(const QString &title)
|
||||
{
|
||||
qDebug("titleChanged");
|
||||
//qDebug("titleChanged");
|
||||
if (m_pageTitleInWindowTitle)
|
||||
setWindowTitle(m_windowTitleFormat.arg(title));
|
||||
}
|
||||
|
|
@ -71,6 +71,6 @@ void BrowserDialog::on_webView_titleChanged(const QString &title)
|
|||
// Public access Methods
|
||||
void BrowserDialog::load(const QUrl &url)
|
||||
{
|
||||
qDebug("load");
|
||||
//qDebug("load");
|
||||
ui->webView->setUrl(url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue