mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Windows,Qt5: Fixed compile issue.
- It fixes: error: C2308: concatenating mismatched strings Concatenating wide - See: http://blog.qt.digia.com/blog/2014/06/13/qt-weekly-13-qstringliteral/
This commit is contained in:
parent
0ccc759e1f
commit
94afd29d67
@ -118,8 +118,7 @@ MainApplication::MainApplication(int &argc, char** argv)
|
||||
|
||||
// QSQLITE database plugin is required
|
||||
if (!QSqlDatabase::isDriverAvailable(QSL("QSQLITE"))) {
|
||||
QMessageBox::critical(0, QSL("Error"), QSL("Qt SQLite database plugin is not available. "
|
||||
"Please install it and restart the application."));
|
||||
QMessageBox::critical(0, QSL("Error"), QSL("Qt SQLite database plugin is not available. Please install it and restart the application."));
|
||||
m_isClosing = true;
|
||||
return;
|
||||
}
|
||||
|
@ -226,8 +226,8 @@ void GM_Manager::frameLoadStart()
|
||||
frame->evaluateJavaScript(m_bootstrap + script->script());
|
||||
}
|
||||
else {
|
||||
const QString jscript = QString(QSL("window.addEventListener(\"DOMContentLoaded\","
|
||||
"function(e) { \n%1\n }, true);")).arg(m_bootstrap + script->script());
|
||||
const QString jscript = QString(QSL("window.addEventListener(\"DOMContentLoaded\",function(e) { \n%1\n }, true);"))
|
||||
.arg(m_bootstrap + script->script());
|
||||
frame->evaluateJavaScript(jscript);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user