Skip to content

Commit

Permalink
CPUGraph.MenuApplet: Add window title.
Browse files Browse the repository at this point in the history
  • Loading branch information
asliturk authored and awesomekling committed Feb 10, 2020
1 parent afb37b6 commit aadcc9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MenuApplets/CPUGraph/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@

#include <AK/CircularQueue.h>
#include <LibCore/ProcessStatisticsReader.h>
#include <LibGfx/Palette.h>
#include <LibGUI/Application.h>
#include <LibGUI/Painter.h>
#include <LibGUI/Widget.h>
#include <LibGUI/Window.h>
#include <LibGfx/Palette.h>
#include <stdio.h>

class GraphWidget final : public GUI::Widget {
Expand Down Expand Up @@ -125,6 +125,7 @@ int main(int argc, char** argv)
}

auto window = GUI::Window::construct();
window->set_title("CPUGraph");
window->set_window_type(GUI::WindowType::MenuApplet);
window->resize(30, 16);

Expand Down

0 comments on commit aadcc9c

Please sign in to comment.