summaryrefslogtreecommitdiff
path: root/Applications/FileManager
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-10 03:43:46 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-10 03:43:46 +0200
commit4ab0cd5d4c6f87fa927b0b97916cbd127a2a1999 (patch)
tree1d5b2491db4b65bb68ffd7ed81458af376418461 /Applications/FileManager
parente61dd994df7958fcb4cc764c245b1ec28802ad0d (diff)
downloadserenity-4ab0cd5d4c6f87fa927b0b97916cbd127a2a1999.zip
LibGUI: Move frame painting from GFrame to StylePainter.
This way it can be used by others who might not have a GFrame object.
Diffstat (limited to 'Applications/FileManager')
-rw-r--r--Applications/FileManager/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp
index c893375dff..2aef0cdf01 100644
--- a/Applications/FileManager/main.cpp
+++ b/Applications/FileManager/main.cpp
@@ -65,8 +65,8 @@ int main(int argc, char** argv)
progressbar->set_caption("Generating thumbnails: ");
progressbar->set_format(GProgressBar::Format::ValueSlashMax);
progressbar->set_visible(false);
- progressbar->set_frame_shape(GFrame::Shape::Panel);
- progressbar->set_frame_shadow(GFrame::Shadow::Sunken);
+ progressbar->set_frame_shape(FrameShape::Panel);
+ progressbar->set_frame_shadow(FrameShadow::Sunken);
progressbar->set_frame_thickness(1);
location_textbox->on_return_pressed = [directory_view, location_textbox] {