X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.cxx;h=18dcc8bef99f180c7a193962a2ac674709b9de75;hp=70d31d509c33abf939ca44d9eef15f57eaebe7e5;hb=7d4bf581b5f2885d00a86f8a6235bc12fca10731;hpb=083a8802e608a69d622ff5cda5d21ff61e289a85 diff --git a/src/gui/Mainwindow.cxx b/src/gui/Mainwindow.cxx index 70d31d5..18dcc8b 100644 --- a/src/gui/Mainwindow.cxx +++ b/src/gui/Mainwindow.cxx @@ -4,7 +4,7 @@ #include "widgets/CFGScene.hxx" #include "dialogs/NewFunctionDialog.hxx" -#include "dialogs/RenameFunctionDialog.hxx" +#include "dialogs/SimpleStringDialog.hxx" #include @@ -140,7 +140,7 @@ void Mainwindow::requestNewFunctionByAddress(uint64_t address) { } void Mainwindow::renameFunction(QListWidgetItem * item) { - RenameFunctionDialog dialog; + SimpleStringDialog dialog("New name"); int result = dialog.exec(); if (QDialog::Accepted == result) { LOG4CXX_DEBUG(logger, "renaming Function " << item->text().toStdString()