diff options
Diffstat (limited to 'src/fqterm/fqterm_frame.cpp')
-rw-r--r-- | src/fqterm/fqterm_frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fqterm/fqterm_frame.cpp b/src/fqterm/fqterm_frame.cpp index e5c863e..916ecb6 100644 --- a/src/fqterm/fqterm_frame.cpp +++ b/src/fqterm/fqterm_frame.cpp @@ -1306,7 +1306,7 @@ void FQTermFrame::keyClicked(int id) { windowManager_->activeWindow()->runPythonScriptFile(scriptFile); else #endif - windowManager_->activeWindow()->runScript(scriptFile.toAscii()); + windowManager_->activeWindow()->runScript(scriptFile.toLatin1()); } else if (strTmp[0] == '2') { // program runProgram(strTmp.mid(1)); } @@ -2045,7 +2045,7 @@ void FQTermFrame::loadToolBarPosition() QString strTmp = config_->getItemValue("global", "toolbarstate"); if (!strTmp.isEmpty()) { - restoreState(QByteArray::fromHex(strTmp.toAscii())); + restoreState(QByteArray::fromHex(strTmp.toLatin1())); } else { addToolBar(Qt::TopToolBarArea, toolBarMdiConnectTools_); insertToolBar(toolBarMdiConnectTools_,toolBarSetupKeys_); |