mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-11-15 02:19:22 +01:00
RomBrowserWidget: move init bool inside function
This commit is contained in:
1 parent
606b46bebd
commit
8a515a63a8
1 file changed
+2
-2
@@ -180,10 +180,10 @@ void RomBrowserWidget::rom_Searcher_Init(void)
|
||||
&RomBrowserWidget::on_RomBrowserThread_Finished);
|
||||
}
|
||||
|
||||
bool init = false;
|
||||
|
||||
void RomBrowserWidget::rom_List_Fill(QString directory)
|
||||
{
|
||||
static bool init = false;
|
||||
|
||||
if (!init)
|
||||
{
|
||||
this->rom_Searcher_Init();
|
||||
|
||||
Reference in new issue
Block a user