diff --git a/src/application.qrc b/src/application.qrc index a18c56d..597bbb6 100644 --- a/src/application.qrc +++ b/src/application.qrc @@ -15,6 +15,7 @@ icons/window-editmode.svg icons/window-simulmode.svg icons/application-exit.svg + icons/lsim.svg diff --git a/src/lsim.cpp b/src/lsim.cpp index 3048152..622e38f 100644 --- a/src/lsim.cpp +++ b/src/lsim.cpp @@ -151,8 +151,8 @@ void lsim::createActions() { //Edit, insert, Modechange - acts.itemEditModeAct = new QAction (tr ("Editieren"), this); - acts.itemEditModeAct->setStatusTip (tr ("Die Felder ver\344ndern")); + acts.itemEditModeAct = new QAction (tr ("Bearbeiten"), this); + acts.itemEditModeAct->setStatusTip (tr ("Die Anordnung ver\344ndern")); acts.itemEditModeAct->setIcon(QIcon(":icons/edit-scene.svg")); acts.itemEditModeAct->setCheckable(true); acts.itemEditModeAct->setData(QVariant(SimulScene::FieldItemEdit)); diff --git a/src/main.cpp b/src/main.cpp index daf985d..b22b556 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,14 +20,16 @@ #include +#include #include "lsim.h" int main(int argc, char *argv[]) { - Q_INIT_RESOURCE(application); - QApplication app(argc, argv); - lsim * mw = new lsim(); - mw->show(); - return app.exec(); + Q_INIT_RESOURCE(application); + QApplication app(argc, argv); + app.setWindowIcon(QIcon(":icons/lsim.svg")); + lsim * mw = new lsim(); + mw->show(); + return app.exec(); } diff --git a/src/src.pro b/src/src.pro index 2e14772..7c491c6 100644 --- a/src/src.pro +++ b/src/src.pro @@ -36,3 +36,4 @@ RESOURCES = application.qrc CONFIG -= release +RC_FILE = lsim.rc