diff options
author | Timothy Pearson <[email protected]> | 2014-10-22 14:24:34 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-10-22 14:24:34 -0500 |
commit | ca46c5047fd0f619486b89e032c34d9a5664cdcb (patch) | |
tree | 7e1c8b79bd19e78f23cab54010164dd290639ce3 /buildtools/qmake | |
parent | 5773501d560f5ff65d407715536c7a5dae0955fe (diff) | |
download | tdevelop-ca46c5047fd0f619486b89e032c34d9a5664cdcb.tar.gz tdevelop-ca46c5047fd0f619486b89e032c34d9a5664cdcb.zip |
Fix exec icon location and bring it into XDG compliance
Diffstat (limited to 'buildtools/qmake')
-rw-r--r-- | buildtools/qmake/trollprojectpart.cpp | 4 | ||||
-rw-r--r-- | buildtools/qmake/trollprojectwidget.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/buildtools/qmake/trollprojectpart.cpp b/buildtools/qmake/trollprojectpart.cpp index 89062656..eeccf445 100644 --- a/buildtools/qmake/trollprojectpart.cpp +++ b/buildtools/qmake/trollprojectpart.cpp @@ -140,7 +140,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS "project directory.<br>Environment variables and make arguments can be specified " "in the project settings dialog, <b>Make Options</b> tab.")); - action = new TDEAction( i18n("Execute Main Program"), "exec", SHIFT+Key_F9, + action = new TDEAction( i18n("Execute Main Program"), "application-x-executable", SHIFT+Key_F9, this, TQT_SLOT(slotBuildAndExecuteProject()), actionCollection(), "build_execute_project" ); action->setToolTip(i18n("Execute main program")); @@ -191,7 +191,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Make Options</b> tab.")); - action = new TDEAction( i18n("Execute Subproject"), "exec", 0, + action = new TDEAction( i18n("Execute Subproject"), "application-x-executable", 0, this, TQT_SLOT(slotBuildAndExecuteTarget()), actionCollection(), "build_execute_target" ); action->setToolTip(i18n("Execute subproject")); diff --git a/buildtools/qmake/trollprojectwidget.cpp b/buildtools/qmake/trollprojectwidget.cpp index b1253355..dd5c5d03 100644 --- a/buildtools/qmake/trollprojectwidget.cpp +++ b/buildtools/qmake/trollprojectwidget.cpp @@ -137,7 +137,7 @@ TrollProjectWidget::TrollProjectWidget( TrollProjectPart *part ) // run executeProjectButton = new TQToolButton ( projectTools, "Run button" ); - executeProjectButton->setPixmap ( SmallIcon ( "exec" ) ); + executeProjectButton->setPixmap ( SmallIcon ( "application-x-executable" ) ); executeProjectButton->setSizePolicy ( TQSizePolicy ( ( TQSizePolicy::SizeType ) 0, ( TQSizePolicy::SizeType ) 0, 0, 0, executeProjectButton->sizePolicy().hasHeightForWidth() ) ); executeProjectButton->setEnabled ( true ); TQToolTip::add( executeProjectButton, i18n( "Execute main program" ) ); @@ -255,7 +255,7 @@ TrollProjectWidget::TrollProjectWidget( TrollProjectPart *part ) // run executeTargetButton = new TQToolButton ( fileTools, "Run sp button" ); - executeTargetButton->setPixmap ( SmallIcon ( "exec" ) ); + executeTargetButton->setPixmap ( SmallIcon ( "application-x-executable" ) ); executeTargetButton->setSizePolicy ( TQSizePolicy ( ( TQSizePolicy::SizeType ) 0, ( TQSizePolicy::SizeType ) 0, 0, 0, executeTargetButton->sizePolicy().hasHeightForWidth() ) ); executeTargetButton->setEnabled ( true ); TQToolTip::add( executeTargetButton, i18n( "Execute subproject" ) ); |