commit 2177ad4f1d90039a2845dba2813ce202f8855cd7
parent b8e7c4dd3836ebe18fd13831addb0c2b760abe0f
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sun, 1 May 2016 16:59:56 -0400
small refactoring... s/0/MB_OK
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -134,8 +134,7 @@ void ReaPack::synchronizeAll()
const vector<Remote> &remotes = m_config->remotes()->getEnabled();
if(remotes.empty()) {
- ShowMessageBox("No repository enabled, nothing to do!",
- "ReaPack", MB_OK);
+ ShowMessageBox("No repository enabled, nothing to do!", "ReaPack", MB_OK);
return;
}
@@ -516,7 +515,7 @@ Transaction *ReaPack::createTransaction()
LockDialog cleanupLock(m_browser);
if(m_transaction->taskCount() == 0 && !receipt->hasErrors())
- ShowMessageBox("Nothing to do!", "ReaPack", 0);
+ ShowMessageBox("Nothing to do!", "ReaPack", MB_OK);
else
Dialog::Show<Report>(m_instance, m_mainWindow, receipt);
});