MCPcopy Create free account
hub / github.com/YACReader/yacreader / LibraryWindow

Method LibraryWindow

YACReaderLibrary/library_window.cpp:109–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107using namespace YACReader;
108
109LibraryWindow::LibraryWindow()
110 : QMainWindow(), fullscreen(false), previousFilter(""), fetching(false), status(LibraryWindow::Normal), removeError(false), pendingAfterLaunchTasks(false)
111{
112 createSettings();
113
114 setupUI();
115
116 loadLibraries();
117
118 if (libraries.isEmpty()) {
119 showNoLibrariesWidget();
120 } else {
121 showRootWidget();
122 selectedLibrary->setCurrentIndex(0);
123 }
124
125 if (startsHiddenInTray()) {
126 pendingAfterLaunchTasks = true;
127 } else {
128 afterLaunchTasks();
129 }
130}
131
132void LibraryWindow::afterLaunchTasks()
133{

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.80
setCurrentIndexMethod · 0.45

Tested by

no test coverage detected