Skip to content

Commit

Permalink
Extend custom tray menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mhtvsSFrpHdE committed Feb 3, 2023
1 parent 09aff9f commit 19611f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions qpp/prefetch/Source/Interface/TrayIcon/tray_icon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ void TrayIcon::action_custom(void *command)
{
using namespace Command_Level2;

auto commandAsQStringAddress = (QString *)command;
QString commandAsQString = run_withSplitter + *commandAsQStringAddress;
QString commandAsQString = *((QString *)command);

ConsoleCommandFunction::sendTextToStdIn(commandAsQString);
}
2 changes: 1 addition & 1 deletion qpp/prefetch/prefetch.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ Size=320,240
Resizable=true

[CustomTrayMenu]
StartFirefox=explorer .\\Firefox.lnk
StartFirefox=run explorer .\\Firefox.lnk

0 comments on commit 19611f1

Please sign in to comment.